From 19a94c4976329549967dd878b793e3b51e028751 Mon Sep 17 00:00:00 2001 From: Goutham Pacha Ravi Date: Mon, 5 May 2025 12:44:15 -0700 Subject: [PATCH] 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 --- tools/check_review_status.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check_review_status.py b/tools/check_review_status.py index baaaf985f..c0bf917ec 100755 --- a/tools/check_review_status.py +++ b/tools/check_review_status.py @@ -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'