From 2bd5ea026c6c78d3572f28c208891599d10d85bc Mon Sep 17 00:00:00 2001 From: James Troup Date: Sun, 11 Jun 2006 06:16:57 +0100 Subject: [PATCH] Add back 'heidi' as a valid argument for -f/--format in dak ls. --- ChangeLog | 6 ++++++ dak/ls.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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"]: -- 2.39.5