summary refs log tree commit diff
path: root/synapse/util
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-05-02 09:12:26 +0100
committerRichard van der Hoff <richard@matrix.org>2018-05-02 09:12:26 +0100
commite482f8cd8504b36dc1ce2c1e51e0dee479d33249 (patch)
treef82a4c0d922e9e7dcd6c396142e51c7dbfd26a46 /synapse/util
parentMerge branch 'release-v0.28.1' into develop (diff)
downloadsynapse-e482f8cd8504b36dc1ce2c1e51e0dee479d33249.tar.xz
Fix incorrect reference to StringIO
This was introduced in 4f2f5171
Diffstat (limited to 'synapse/util')
-rw-r--r--synapse/util/logformatter.py2
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