From: Mark Hymers Date: Thu, 24 Mar 2011 21:04:38 +0000 (+0000) Subject: Don't die on a single error X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c4de16091e80f1ab310ae6844e4973a3f546e0d;p=dak Don't die on a single error Signed-off-by: Mark Hymers --- diff --git a/dak/split_done.py b/dak/split_done.py index 563a8981..87b38827 100755 --- a/dak/split_done.py +++ b/dak/split_done.py @@ -43,7 +43,8 @@ def main(): os.makedirs(dirname) dest = dirname + '/' + os.path.basename(filename) if os.path.exists(dest): - utils.fubar("%s already exists." % (dest)) + utils.warn("%s already exists." % (dest)) + continue print "Move: %s -> %s" % (filename, dest) os.rename(filename, dest) count = count + 1