[PATCH 1/5] list_releases(): list releases in a diff-friendly way

Stefano Zacchiroli zack at upsilon.cc
Wed Oct 1 14:37:29 UTC 2014


coding style only, no semantic changes
---
 lib/debian/debian_support.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/debian/debian_support.py b/lib/debian/debian_support.py
index 1eacb34..470712f 100644
--- a/lib/debian/debian_support.py
+++ b/lib/debian/debian_support.py
@@ -414,7 +414,12 @@ class Release(PseudoEnum): pass
 
 def list_releases():
     releases = {}
-    rels = ("potato", "woody", "sarge", "etch", "lenny", "sid")
+    rels = ("potato",
+            "woody",
+            "sarge",
+            "etch",
+            "lenny",
+            "sid")
     for r in range(len(rels)):
         releases[rels[r]] = Release(rels[r], r)
     Release.releases = releases
-- 
2.1.0




More information about the pkg-python-debian-maint mailing list