Respected all sorting criteria, not only the last.
authorRobert Lehmann <mail@robertlehmann.de>
Fri, 26 Nov 2010 11:56:43 +0000 (12:56 +0100)
committerRobert Lehmann <mail@robertlehmann.de>
Fri, 26 Nov 2010 11:56:43 +0000 (12:56 +0100)
libbe/command/list.py

index 2611692a4ff5b270858cc4928a8601454dad9372..69715caad5f3ca95ba24d47c21c776d32e56ef9d 100644 (file)
@@ -156,7 +156,7 @@ class List (libbe.command.Command):
                     raise libbe.command.UserError(
                         'Invalid sort on "%s".\nValid sorts:\n  %s'
                     % (cmp, '\n  '.join(AVAILABLE_CMPS)))
-            cmp_list.append(getattr(libbe.bug, 'cmp_%s' % cmp))
+                cmp_list.append(getattr(libbe.bug, 'cmp_%s' % cmp))
         status = parse_status(params['status'])
         severity = parse_severity(params['severity'],
                                   important=params['important'])