Mercurial > farmhouse
changeset 17:77bacffd4117
Replace project_name by unsafe as package name
author | Cédric Krier <ced@b2ck.com> |
---|---|
date | Tue, 24 Feb 2015 00:59:35 +0100 |
parents | b12fc631a637 |
children | eb7646550417 |
files | farmhouse.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/farmhouse.py Tue Feb 24 00:50:08 2015 +0100 +++ b/farmhouse.py Tue Feb 24 00:59:35 2015 +0100 @@ -39,7 +39,7 @@ except ValueError as exception: flash(str(exception)) return render_template('index.html') - packages.append(str(req)) + packages.append(str(req).replace(req.project_name, req.unsafe_name)) if len(packages) == 1: package, = packages return redirect(url_for('atom', package=package))