From 3993ce830dddf00d2bf10f86dc6791a3b7f4afde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Sat, 14 Jul 2018 10:51:40 +0200 Subject: [PATCH] rooms: Don't use finally to catch generated events. --- matrix/rooms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/matrix/rooms.py b/matrix/rooms.py index e15018c..6ad94e5 100644 --- a/matrix/rooms.py +++ b/matrix/rooms.py @@ -290,8 +290,7 @@ class RoomInfo(): W.prnt("", message) e = BadEvent.from_dict(event) - finally: - events.append(e) + events.append(e) return events