From fa9c110028d61fc7dfbaac0d78fe121a29b6c581 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Thu, 13 Dec 2018 08:45:36 -0500 Subject: [PATCH] ignore + and - when looking for teams with open patches + means done and - means nothing needed to be done Change-Id: I12bf4d80234a0f49bb3919940646b378e4d12a18 Signed-off-by: Doug Hellmann --- goal_tools/python3_first/patches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goal_tools/python3_first/patches.py b/goal_tools/python3_first/patches.py index 94834d3..ff208a8 100644 --- a/goal_tools/python3_first/patches.py +++ b/goal_tools/python3_first/patches.py @@ -513,7 +513,7 @@ class PatchesCount(lister.Lister): data = [ row for row in data - if row[1:4] != ('+', '+', '+') + if ''.join(row[1:4]).strip('+-') ] return (columns, data)