From: James Troup Date: Sun, 11 Jun 2006 05:16:57 +0000 (+0100) Subject: Add back 'heidi' as a valid argument for -f/--format in dak ls. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bd5ea026c6c78d3572f28c208891599d10d85bc;p=dak Add back 'heidi' as a valid argument for -f/--format in dak ls. --- diff --git a/ChangeLog b/ChangeLog index d1ea513d..e8a07c1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-06-11 James Troup + + * 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 * dak/rm.py (main): use string .isdigit() rather than diff --git a/dak/ls.py b/dak/ls.py index a1f8c8ec..21b12f66 100755 --- 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"]: