diff options
| author | Erik Johnston <erik@matrix.org> | 2015-04-15 10:25:43 +0100 |
|---|---|---|
| committer | Erik Johnston <erik@matrix.org> | 2015-04-15 10:25:43 +0100 |
| commit | a971fa9d584b35c35b675b65ed86faed77b46cf7 (patch) | |
| tree | 1502086c946cae0985c12d26fbb55759f6e60bfc | |
| parent | Use True for True rather than 1 (diff) | |
| download | synapse-a971fa9d584b35c35b675b65ed86faed77b46cf7.tar.xz | |
Use try..finally in contextlib.contextmanager
Diffstat (limited to '')
| -rw-r--r-- | synapse/storage/util/id_generators.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/synapse/storage/util/id_generators.py b/synapse/storage/util/id_generators.py |
