From 7638bcfe7a31d3aef06f9112578a5ee8d55ee076 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 14 Jan 2019 17:30:51 -0800 Subject: hack pylint for unimplemented routes --- python/fatcat_web/routes.py | 8 ++++---- 1 file 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//history', methods=['GET']) def release_history(ident): -- cgit v1.2.3