forked from pool/rpmlint
17 lines
384 B
Diff
17 lines
384 B
Diff
|
diff --git a/Filter.py b/Filter.py
|
||
|
index a728115..87b4009 100644
|
||
|
--- a/Filter.py
|
||
|
+++ b/Filter.py
|
||
|
@@ -111,8 +111,9 @@ def printDescriptions(reason):
|
||
|
|
||
|
|
||
|
def _diag_sortkey(x):
|
||
|
- xs = x.split()
|
||
|
- return (xs[2], xs[1])
|
||
|
+ xs = x.split(maxsplit=2)
|
||
|
+ # ['game.x86_64:', 'W:', 'call-to-mktemp /usr/games/lib/blub\n']
|
||
|
+ return (xs[2], xs[1], xs[0])
|
||
|
|
||
|
|
||
|
def printAllReasons():
|