diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 15:44:23 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2020-03-16 15:44:23 +0000 |
commit | 99f8f078de744b995918e94781252ec2e11e5237 (patch) | |
tree | 766300604daa8a506dc8622dfdaf107fcafc579a /synapse/handlers/room.py | |
parent | fix delete_existing for _persist_events (#6300) (diff) | |
parent | Remove usage of deprecated logger.warn method from codebase (#6271) (diff) | |
download | synapse-99f8f078de744b995918e94781252ec2e11e5237.tar.xz |
Remove usage of deprecated logger.warn method from codebase (#6271)
Diffstat (limited to 'synapse/handlers/room.py')
-rw-r--r-- | synapse/handlers/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index a3ada4f656..0dce0109de 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -949,7 +949,7 @@ class RoomEventSource(object): from_token = RoomStreamToken.parse(from_key) if from_token.topological: - logger.warn("Stream has topological part!!!! %r", from_key) + logger.warning("Stream has topological part!!!! %r", from_key) from_key = "s%s" % (from_token.stream,) app_service = self.store.get_app_service_by_user_id(user.to_string()) |