eobuilder-ctl: fixes generation of last_version file

This commit is contained in:
Jérôme Schneider 2014-02-18 19:01:00 +01:00
parent d230e6ddb3
commit fb7e28533e
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ def main():
last_version_file = os.path.join(project['lock_path'],
"%s_%s.last_version" % (project['name'], dist))
with open(last_version_file, 'a') as f:
with open(last_version_file, 'w+') as f:
f.write(package_version)
f.close()