diff options
author | Richard van der Hoff <richard@matrix.org> | 2016-07-21 13:15:15 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2016-07-21 13:15:15 +0100 |
commit | 1c3c202b969d6a7e5e4af2b2dca370f053b92c9f (patch) | |
tree | 5c1816575db12bba83ea73687c78dccab02202b7 /synapse/handlers/device.py | |
parent | Implement GET /device/{deviceId} (diff) | |
download | synapse-1c3c202b969d6a7e5e4af2b2dca370f053b92c9f.tar.xz |
Fix PEP8 errors
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/device.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py index 3c88be0679..110f5fbb5c 100644 --- a/synapse/handlers/device.py +++ b/synapse/handlers/device.py @@ -109,7 +109,7 @@ class DeviceHandler(BaseHandler): """ try: device = yield self.store.get_device(user_id, device_id) - except errors.StoreError, e: + except errors.StoreError: raise errors.NotFoundError ips = yield self.store.get_last_client_ip_by_device( devices=((user_id, device_id),) |