summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-05-02 10:03:36 +0100
committerGitHub <noreply@github.com>2018-05-02 10:03:36 +0100
commita8d8bf92e05d47bb290b1edce7e3990ff4a2a260 (patch)
treeb7b59d07feeaa253d62803b682f8e3e81e305504 /synapse
parentmissing word :| (diff)
parentFix incorrect reference to StringIO (diff)
downloadsynapse-a8d8bf92e05d47bb290b1edce7e3990ff4a2a260.tar.xz
Merge pull request #3168 from matrix-org/rav/fix_logformatter
Fix incorrect reference to StringIO
Diffstat (limited to 'synapse')
-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