summaryrefslogtreecommitdiffstats
path: root/src/account/tasks.py
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2020-07-27 17:03:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2020-07-27 17:03:45 +0000
commitdc115112cd0de9764ac6d8b4fb2dd1c0fc37bf59 (patch)
tree167dbee9f95b510e56aec5f13bf09cc49406dcea /src/account/tasks.py
parentb743f3ad85acca17c473d123f715091165969087 (diff)
parent4cc9426d72fe9baa8a4a7f56c6d43493bd011f02 (diff)
Merge "Fix Flake8 Violations"
Diffstat (limited to 'src/account/tasks.py')
-rw-r--r--src/account/tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/account/tasks.py b/src/account/tasks.py
index 53fbaf5..df98c73 100644
--- a/src/account/tasks.py
+++ b/src/account/tasks.py
@@ -28,7 +28,7 @@ def sync_jira_accounts():
continue
try:
user.email = user_dict['emailAddress']
- except:
+ except KeyError:
pass
user.userprofile.url = user_dict['self']
user.userprofile.full_name = user_dict['displayName']