diff options
author | NotAFile <nota@notafile.com> | 2018-03-15 16:11:17 +0100 |
---|---|---|
committer | NotAFile <nota@notafile.com> | 2018-03-15 16:11:17 +0100 |
commit | 2cc9f76bc3cfa012dcdfe614bdda7e689b8b5e65 (patch) | |
tree | b9067a68b9a1638a25fa4c1908d6ea6014c7d30f /synapse | |
parent | Merge pull request #3003 from matrix-org/rav/fix_contributing (diff) | |
download | synapse-2cc9f76bc3cfa012dcdfe614bdda7e689b8b5e65.tar.xz |
replace old style error catching with 'as' keyword
This is both easier to read and compatible with python3 (not that that matters) Signed-off-by: Adrian Tschira <nota@notafile.com>
Diffstat (limited to 'synapse')
-rwxr-xr-x | synapse/app/synctl.py | 4 | ||||
-rw-r--r-- | synapse/handlers/device.py | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/synapse/app/synctl.py b/synapse/app/synctl.py |