fix prettytable deprecation warning

prettytable 3.12 introduced ENUMs for
hrules and vrules. Avoid seeing a warning
by adopting this newer code:

check-review-status: commands[0]> tools/check_review_status.py
Delegating release-management tags to MISSING
governance/tools/check_review_status.py:471: DeprecationWarning: the 'ALL' constant is deprecated, use the 'HRuleStyle' and 'VRuleStyle' enums instead
  hrules=prettytable.ALL,

Change-Id: I824550165b3e3bb06221ffb0ddaeb90f04fe493c
This commit is contained in:
Goutham Pacha Ravi
2025-05-05 12:44:15 -07:00
parent 8cdd19ac68
commit 19a94c4976

View File

@@ -468,7 +468,7 @@ def main():
x = prettytable.PrettyTable(
field_names=columns,
hrules=prettytable.ALL,
hrules=prettytable.HRuleStyle.ALL,
)
x.align['Summary'] = 'l'
x.align['Status'] = 'l'