Merge pull request #3119 from mano3m/develop_tagging

Only tag existing files
This commit is contained in:
Ruud Burger
2014-04-20 10:07:43 +02:00

View File

@@ -652,7 +652,7 @@ Remove it if you want it to be renamed (again, or at least let it try again)
elif isinstance(release_download, dict):
# Tag download_files if they are known
if release_download.get('files', []):
tag_files = release_download.get('files', [])
tag_files = [filename for filename in release_download.get('files', []) if os.path.exists(filename)]
# Tag all files in release folder
elif release_download['folder']: