From 1c4de16091e80f1ab310ae6844e4973a3f546e0d Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Thu, 24 Mar 2011 21:04:38 +0000 Subject: [PATCH] Don't die on a single error Signed-off-by: Mark Hymers --- dak/split_done.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.39.5