X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Frm.py;h=d7697fa426a0bd510aeb47d1921aa90fa33bb10c;hb=0990d4c888a08d749b5f5b90ba0411a5f3a93bab;hp=00671f6071859fd14552266c5b10489e647e34a9;hpb=0b721f7bf2a1b98866454f7eb54854aec5251550;p=dak.git diff --git a/dak/rm.py b/dak/rm.py index 00671f60..d7697fa4 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -75,7 +75,7 @@ Remove PACKAGE(s) from suite(s). -S, --source-only remove source only ARCH, BUG#, COMPONENT and SUITE can be comma (or space) separated lists, e.g. - --architecture=m68k,i386""" + --architecture=amd64,i386""" sys.exit(exit_code) @@ -399,7 +399,7 @@ def main (): for i in source_packages.keys(): filename = "/".join(source_packages[i]) try: - dsc = utils.parse_changes(filename) + dsc = utils.parse_changes(filename, dsc_file=1) except CantOpenError: utils.warn("couldn't open '%s'." % (filename)) continue @@ -492,7 +492,7 @@ def main (): game_over() whoami = utils.whoami() - date = commands.getoutput('date -R').strip() + date = commands.getoutput('date -R') # Log first; if it all falls apart I want a record that we at least tried. logfile = utils.open_file(cnf["Rm::LogFile"], 'a')