aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-14 17:30:51 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-14 17:30:51 -0800
commita3412587f1b8a069249410b916c499dc4f7e6cf0 (patch)
tree7088f975804ff67427458e310987accae730f5cd
parent49620fa3249fec5f2a9d24dd966ca2a2c0cde912 (diff)
downloadfatcat-a3412587f1b8a069249410b916c499dc4f7e6cf0.tar.gz
fatcat-a3412587f1b8a069249410b916c499dc4f7e6cf0.zip
hack pylint for unimplemented routes
-rw-r--r--python/fatcat_web/routes.py8
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):