summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/profile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/profile.py b/synapse/storage/profile.py
index 4e7b7c253b..ec02e73bc2 100644
--- a/synapse/storage/profile.py
+++ b/synapse/storage/profile.py
@@ -38,7 +38,7 @@ class ProfileStore(SQLBaseStore):
                 retcols=("displayname", "avatar_url"),
                 desc="get_profileinfo",
             )
-        except StoreError, e:
+        except StoreError as e:
             if e.code == 404:
                 # no match
                 defer.returnValue(ProfileInfo(None, None))