From 171eec5984cea5a2710ad9e7bc80e9a62d562166 Mon Sep 17 00:00:00 2001 From: Imdad Ahad Date: Thu, 8 Sep 2016 16:59:32 +0100 Subject: [PATCH] Remove pdb breaks --- app/main/views/two_factor.py | 1 - app/utils.py | 1 - 2 files changed, 2 deletions(-) diff --git a/app/main/views/two_factor.py b/app/main/views/two_factor.py index 54a8400f9..72359ecb8 100644 --- a/app/main/views/two_factor.py +++ b/app/main/views/two_factor.py @@ -24,7 +24,6 @@ def two_factor(): form = TwoFactorForm(_check_code) if form.validate_on_submit(): - import pdb; pdb.set_trace() try: user = user_api_client.get_user(user_id) services = service_api_client.get_services({'user_id': str(user_id)}).get('data', []) diff --git a/app/utils.py b/app/utils.py index aee92effd..98178fd7f 100644 --- a/app/utils.py +++ b/app/utils.py @@ -54,7 +54,6 @@ def user_has_permissions(*permissions, admin_override=False, any_=False): def redirect_to_sign_in(f): @wraps(f) def wrapped(*args, **kwargs): - import pdb; pdb.set_trace() if 'user_details' not in session: return redirect(url_for('main.sign_in')) else: