]> err.no Git - dak/commitdiff
Add back 'heidi' as a valid argument for -f/--format in dak ls.
authorJames Troup <james@nocrew.org>
Sun, 11 Jun 2006 05:16:57 +0000 (06:16 +0100)
committerJames Troup <james@nocrew.org>
Sun, 11 Jun 2006 05:16:57 +0000 (06:16 +0100)
ChangeLog
dak/ls.py

index d1ea513d34e34c22d210fb5553dfc2e54ae67921..e8a07c1b4ca17c173906f0bdaea10824acdf37fc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-06-11  James Troup  <james@nocrew.org>
+
+       * dak/ls.py (main): add back 'heidi' as a valid argument for
+       -f/--format as people are using it in scripts and breaking that
+       without warning seems rude.
+
 2006-05-21  James Troup  <james@nocrew.org>
 
        * dak/rm.py (main): use string .isdigit() rather than
index a1f8c8ec2dc1b52f15cb7b0d6f46011484446218..21b12f661baadf90678422df315ef5f07e09e560 100755 (executable)
--- a/dak/ls.py
+++ b/dak/ls.py
@@ -183,7 +183,7 @@ SELECT s.source, s.version, 'source', su.suite_name, c.name, m.name
                         sys.stdout.write("%10s | %10s | %13s | " % (pkg, version, suite))
                         sys.stdout.write(", ".join(arches))
                         sys.stdout.write('\n')
-                    elif Options["Format"] == "control-suite":
+                    elif Options["Format"] in [ "control-suite", "heidi" ]:
                         for arch in arches:
                             sys.stdout.write("%s %s %s\n" % (pkg, version, arch))
             if Options["GreaterOrEqual"]: