fix typos

This commit is contained in:
Matthew Hodgson 2017-12-27 23:42:08 +00:00 committed by Hubert Chathi
parent 14b3da63a3
commit 234611f347
2 changed files with 3 additions and 2 deletions

View File

@ -110,6 +110,7 @@ class E2eRoomKeysHandler(object):
# XXX: perhaps we should use a finer grained lock here? # XXX: perhaps we should use a finer grained lock here?
with (yield self._upload_linearizer.queue(user_id)): with (yield self._upload_linearizer.queue(user_id)):
# Check that the version we're trying to upload is the current version # Check that the version we're trying to upload is the current version
try:
version_info = yield self.get_current_version_info(user_id) version_info = yield self.get_current_version_info(user_id)
except StoreError as e: except StoreError as e:
if e.code == 404: if e.code == 404:

View File

@ -219,7 +219,7 @@ class EndToEndRoomKeyStore(SQLBaseStore):
) )
return self.runInteraction( return self.runInteraction(
desc="get_e2e_room_keys_version_info", "get_e2e_room_keys_version_info",
_get_e2e_room_keys_version_info_txn _get_e2e_room_keys_version_info_txn
) )