Additional debug output from post_upload.py

This commit is contained in:
James Turner 2015-09-02 11:26:39 +01:00
parent e0504be7cf
commit deeeddbfbb

View File

@ -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)