diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-14 17:30:51 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-14 17:31:12 -0800 |
commit | 7638bcfe7a31d3aef06f9112578a5ee8d55ee076 (patch) | |
tree | 5a0a67eafd3f124392f1406aa49766bf73a9f3e0 /python/fatcat_web | |
parent | 1f4fd63ee1fb31ce657480b5170037f54b8e252f (diff) | |
download | fatcat-7638bcfe7a31d3aef06f9112578a5ee8d55ee076.tar.gz fatcat-7638bcfe7a31d3aef06f9112578a5ee8d55ee076.zip |
hack pylint for unimplemented routes
Diffstat (limited to 'python/fatcat_web')
-rw-r--r-- | python/fatcat_web/routes.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py index 34012c9f..a5927d9b 100644 --- a/python/fatcat_web/routes.py +++ b/python/fatcat_web/routes.py @@ -58,8 +58,8 @@ def container_create(): if k.startswith('container_'): params[k[10:]] = request.form[k] container = None - edit = api.create_container(container, params=params) - return redirect("/container/{}".format(edit.ident)) + #edit = api.create_container(container, params=params) + #return redirect("/container/{}".format(edit.ident)) @app.route('/container/lookup', methods=['GET']) def container_lookup(): @@ -209,8 +209,8 @@ def release_create(): if k.startswith('release_'): params[k[10:]] = request.form[k] release = None - edit = api.create_release(release, params=params) - return redirect("/release/{}".format(edit.ident)) + #edit = api.create_release(release, params=params) + #return redirect("/release/{}".format(edit.ident)) @app.route('/release/<ident>/history', methods=['GET']) def release_history(ident): |