]> git.decadent.org.uk Git - dak.git/commitdiff
Don't die on a single error
authorMark Hymers <mhy@debian.org>
Thu, 24 Mar 2011 21:04:38 +0000 (21:04 +0000)
committerMark Hymers <mhy@debian.org>
Thu, 24 Mar 2011 21:04:38 +0000 (21:04 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/split_done.py

index 563a89812b8938463fc9c68a85dcee54a04c863e..87b38827706ac752a17afc91f7a629070f9c3a08 100755 (executable)
@@ -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