diff options
-rwxr-xr-x | bin/repoman | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/repoman b/bin/repoman index f9a62a1ca..faed9a2ba 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1497,8 +1497,8 @@ for x in scanlist: stats[m+".syntax"] += 1 fails[m+".syntax"].append(catpkg+".ebuild "+m+": "+b) - badlicsyntax = len(filter(lambda x:x=="LICENSE", type_list)) - badprovsyntax = len(filter(lambda x:x=="PROVIDE", type_list)) + badlicsyntax = len([x for x in type_list if x == "LICENSE"]) + badprovsyntax = len([x for x in type_list if x == "PROVIDE"]) baddepsyntax = len(type_list) != badlicsyntax + badprovsyntax badlicsyntax = badlicsyntax > 0 badprovsyntax = badprovsyntax > 0 |