[Piuparts-commits] [piuparts] 05/20: whitespace cleanup

Holger Levsen holger at moszumanska.debian.org
Sat Nov 23 20:23:34 UTC 2013


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch develop
in repository piuparts.

commit 529ab1257526536ce99c5918caf1d120624defea
Author: Andreas Beckmann <anbe at debian.org>
Date:   Sat Nov 9 18:33:00 2013 +0100

    whitespace cleanup
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>
---
 piuparts-report.py        | 4 ++--
 piupartslib/packagesdb.py | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/piuparts-report.py b/piuparts-report.py
index 4798664..4949258 100644
--- a/piuparts-report.py
+++ b/piuparts-report.py
@@ -1286,7 +1286,7 @@ class Section:
             if state in self._binary_db.get_error_states():
                 with_counts = True
                 aside = " (reverse deps, blocked pkgs)"
-                sort_key = lambda x: (-self._binary_db.block_count(x),x["Package"])
+                sort_key = lambda x: (-self._binary_db.block_count(x), x["Package"])
             else:
                 with_counts = False
                 aside = ""
@@ -1294,7 +1294,7 @@ class Section:
 
             names = self._binary_db.get_pkg_names_in_state(state)
             packages = [self._binary_db.get_package(name) for name in names]
-            packages.sort( key = sort_key )
+            packages.sort(key=sort_key)
 
             for package in packages:
                 vlist += "<li id=\"%s\">%s" % (
diff --git a/piupartslib/packagesdb.py b/piupartslib/packagesdb.py
index 63546d7..b1a7810 100644
--- a/piupartslib/packagesdb.py
+++ b/piupartslib/packagesdb.py
@@ -759,7 +759,7 @@ class PackagesDB:
                         self._rdeps[dep] = set()
                     self._rdeps[dep].add(pkg_name)
 
-        return( self._rdeps )
+        return self._rdeps
 
     def _calc_rrdep_pkg_counts(self, pkg):
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/piuparts/piuparts.git



More information about the Piuparts-commits mailing list