Temporary fixes for internal default value
This commit is contained in:
parent
9335fbb16e
commit
6b8a88e103
|
@ -32,7 +32,7 @@ class Risotto(Controller):
|
||||||
except:
|
except:
|
||||||
raise Exception(_('Invalid source'))
|
raise Exception(_('Invalid source'))
|
||||||
else:
|
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)
|
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:
|
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)
|
yaml.dump(releases, release_file)
|
||||||
|
|
Loading…
Reference in New Issue