Skip to content
Snippets Groups Projects
Commit cdc2cb5d authored by Matthew Hodgson's avatar Matthew Hodgson
Browse files

fix StoreError syntax

parent c22e7329
No related branches found
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment