From deeeddbfbb8c0d14b7f71ec557dab68e47d1dd02 Mon Sep 17 00:00:00 2001 From: James Turner Date: Wed, 2 Sep 2015 11:26:39 +0100 Subject: [PATCH] Additional debug output from post_upload.py --- post_upload.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/post_upload.py b/post_upload.py index a88db5a..3f24738 100644 --- a/post_upload.py +++ b/post_upload.py @@ -89,7 +89,9 @@ for file in incomingFiles: m = re.match(r'(\w+)-\d+\.\d+\.\d+-([\w-]+)' + suffix, file) latestName = m.group(1) + '-latest-' + m.group(2) + suffix + print "Creating symlink from " + file + " to " + latestName if os.path.exists(latestName): + print "\tremoving existing target" os.remove(latestName) os.symlink(file, latestName)