commit 11f73341e6cc81938fc2ae0d4217e81b1fad32ef
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Tue May 20 12:34:54 2014 +0200
Small pep8 clean up
pkgdb2_cli.py | 3 ++-
test.py | 1 -
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pkgdb2_cli.py b/pkgdb2_cli.py
index 2f9a742..fd84fc0 100644
--- a/pkgdb2_cli.py
+++ b/pkgdb2_cli.py
@@ -387,7 +387,8 @@ def do_acl(args):
'component': args.package})
print "{0} bugs open (new, assigned, needinfo)".format(len(bugbz))
- for pkg in sorted(output['packages'],
+ for pkg in sorted(
+ output['packages'],
key=lambda pkg: pkg['collection']['branchname'],
reverse=True):
if pkg['collection']['status'] == 'EOL':
diff --git a/test.py b/test.py
index 0648e85..421aff9 100644
--- a/test.py
+++ b/test.py
@@ -464,7 +464,6 @@ class TestPkgdDBAuth(unittest.TestCase):
def test_9_update_package_poc(self):
''' Test the update_package_poc function. '''
-
out = self.pkgdb.update_package_poc(
'guake', ['master', 'el6'], 'ralph')
Show replies by date