1
0
fix except clause and indentation
This commit is contained in:
Richard van der Hoff
2017-10-27 12:37:12 +01:00
parent 1435d78d0d
commit 52ac6571d4
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -188,7 +188,7 @@ class TransactionQueue(object):
prev_id for prev_id, _ in event.prev_events
],
)
except:
except Exception:
logger.exception("Failed to calculate hosts in room")
continue
@@ -249,7 +249,7 @@ class TransactionQueue(object):
Args:
states (list(UserPresenceState))
"""
return
return
# First we queue up the new presence by user ID, so multiple presence
# updates in quick successtion are correctly handled
@@ -42,7 +42,7 @@ class SlavedClientIpStore(BaseSlavedStore):
if last_seen is not None and (now - last_seen) < LAST_SEEN_GRANULARITY:
return
self.client_ip_last_seen.prefill(key, now)
self.client_ip_last_seen.prefill(key, now)
self.hs.get_tcp_replication().send_user_ip(
user_id, access_token, ip, user_agent, device_id, now