X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Frm.py;h=62c5f98052b844b4d994314fedcdd829095b4329;hb=c9398d303256dfedc13975b79b6b691048cfcc05;hp=00671f6071859fd14552266c5b10489e647e34a9;hpb=c96ad71b695f3a80504115beb5e4fe8daf410aa6;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')