X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Frm.py;h=62c5f98052b844b4d994314fedcdd829095b4329;hb=d34d27f3196d602d8957463b4495cefbf402dc66;hp=00671f6071859fd14552266c5b10489e647e34a9;hpb=0b721f7bf2a1b98866454f7eb54854aec5251550;p=dak.git diff --git a/dak/rm.py b/dak/rm.py index 00671f60..62c5f980 100755 --- a/dak/rm.py +++ b/dak/rm.py @@ -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')