Commit 71f693f8 authored by Stefan Behnel's avatar Stefan Behnel

fix refnanny error output in Py3

parent 3e64927f
......@@ -159,7 +159,8 @@ cdef void FinishContext(PyObject** ctx):
context = <Context>ctx[0]
errors = context.end()
if errors:
print u"%s: %s()" % (context.filename, context.name)
print u"%s: %s()" % (context.filename.decode('latin1'),
context.name.decode('latin1'))
print errors
context = None
except:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment