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:
@@ -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'
|
||||
|
Reference in New Issue
Block a user