SHA256
1
0
forked from pool/rpmlint
Dirk Mueller 2017-09-30 15:52:45 +00:00 committed by Git OBS Bridge
parent 2d2af816d1
commit 3487f7c4e6

View File

@ -26,9 +26,9 @@
- xs = x.split()
- return (xs[2], xs[1])
+ xs = x.split(maxsplit=2)
+ # Primary Sort by Category: Info first, then Warnings, then Errors
+ # Sort Category (Info/Warnings/Errors), Diagnostic, Name
+ # ['game.x86_64:', 'W:', 'call-to-mktemp /usr/games/lib/blub\n']
+ return (xs[2], str('IWE'.find(xs[1][0])), xs[0])
+ return (str('IWE'.find(xs[1][0])), xs[2], xs[0])
def printAllReasons():