Temporary fixes for internal default value

This commit is contained in:
Benjamin Bohard 2019-12-20 10:37:27 +01:00
parent 9335fbb16e
commit 6b8a88e103

View File

@ -32,7 +32,7 @@ class Risotto(Controller):
except:
raise Exception(_('Invalid source'))
else:
releases = {'1.0.0': {'distribution': 'stable'}}
releases = {'1.0.0': {'distribution': 'last'}}
os.makedirs(os.path.join(get_config().get('source').get('root_path'), source_name), exist_ok=True)
with open(os.path.join(get_config().get('source').get('root_path'), source_name, 'releases.yml'), 'w') as release_file:
yaml.dump(releases, release_file)