Commit 97b86f46 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Case of none version_file

parent 0f6fd691
......@@ -455,10 +455,11 @@ __version_user_info__ = "%(user_info)s"
for _pkg_name, pkg_info in config['packages'].items():
version_filename = pkg_info['version_file']
log.info("Updating version file '%s'" % version_filename)
version_file = file(version_filename, "w+")
version_file.write(content)
version_file.close()
if version_filename:
log.info("Updating version file '%s'" % version_filename)
version_file = file(version_filename, "w+")
version_file.write(content)
version_file.close()
def bump_version_main():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment