Fix incorrect reference to StringIO

This was introduced in 4f2f5171
This commit is contained in:
Richard van der Hoff 2018-05-02 09:12:26 +01:00
parent ca7211104e
commit e482f8cd85
2 changed files with 39 additions and 1 deletions

View file

@ -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