summaryrefslogtreecommitdiffstats
path: root/src/account/tasks.py
diff options
context:
space:
mode:
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']