diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-28 17:27:02 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-28 17:29:44 -0700 |
commit | e81e5c4a4af260be6e4cf463c038cb83d5397997 (patch) | |
tree | 20fccf4b3d992ad74891acec4ed2a3631235f64a /python | |
parent | aa044a4a1ea1b423d46ade63d6a66dcf62bd80b5 (diff) | |
download | fatcat-e81e5c4a4af260be6e4cf463c038cb83d5397997.tar.gz fatcat-e81e5c4a4af260be6e4cf463c038cb83d5397997.zip |
remove some spurious print statements
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_web/kafka.py | 2 | ||||
-rw-r--r-- | python/fatcat_web/routes.py | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/python/fatcat_web/kafka.py b/python/fatcat_web/kafka.py index 44aac5fb..1d7288af 100644 --- a/python/fatcat_web/kafka.py +++ b/python/fatcat_web/kafka.py @@ -31,4 +31,4 @@ def kafka_pixy_produce(topic, msg, key=None, sync=True, timeout=25): timeout=timeout, ) resp.raise_for_status() - print(resp.json()) + #print(resp.json()) diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py index 02e7b1d3..71946d14 100644 --- a/python/fatcat_web/routes.py +++ b/python/fatcat_web/routes.py @@ -557,7 +557,6 @@ def editgroup_submit(ident): if not app.testing: app.csrf.protect() # on behalf of user... - print("submitting...") user_api = auth_api(session['api_token']) try: eg = user_api.get_editgroup(str(ident)) @@ -566,7 +565,6 @@ def editgroup_submit(ident): abort(400) user_api.update_editgroup(eg.editgroup_id, eg, submit=True) except ApiException as ae: - print(ae) app.log.info(ae) abort(ae.status) return redirect('/editgroup/{}'.format(ident)) @@ -655,7 +653,6 @@ def release_save(ident): json.dumps(msg, sort_keys=True), ) except Exception as e: - print(e, file=sys.stderr) return render_template('release_save.html', entity=release, form=form, spn_status='kafka-error'), 500 return render_template('release_save.html', entity=release, form=form, spn_status='success'), 200 elif form.errors: |