diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-05-02 09:12:26 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-05-02 09:12:26 +0100 |
commit | e482f8cd8504b36dc1ce2c1e51e0dee479d33249 (patch) | |
tree | f82a4c0d922e9e7dcd6c396142e51c7dbfd26a46 /synapse/util | |
parent | Merge branch 'release-v0.28.1' into develop (diff) | |
download | synapse-e482f8cd8504b36dc1ce2c1e51e0dee479d33249.tar.xz |
Fix incorrect reference to StringIO
This was introduced in 4f2f5171
Diffstat (limited to 'synapse/util')
-rw-r--r-- | synapse/util/logformatter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/logformatter.py b/synapse/util/logformatter.py index 59ab3c6968..3e42868ea9 100644 --- a/synapse/util/logformatter.py +++ b/synapse/util/logformatter.py @@ -32,7 +32,7 @@ class LogFormatter(logging.Formatter): super(LogFormatter, self).__init__(*args, **kwargs) def formatException(self, ei): - sio = StringIO.StringIO() + sio = StringIO() (typ, val, tb) = ei # log the stack above the exception capture point if possible, but |