Commit f57f9f76 authored by Stefan Behnel's avatar Stefan Behnel

minor string type fix in refnanny

parent de459427
...@@ -63,7 +63,7 @@ cdef class Context(object): ...@@ -63,7 +63,7 @@ cdef class Context(object):
msg += u"\n (%d) acquired on lines: %s" % (count, u", ".join([u"%d" % x for x in linenos])) msg += u"\n (%d) acquired on lines: %s" % (count, u", ".join([u"%d" % x for x in linenos]))
self.errors.append(msg) self.errors.append(msg)
if self.errors: if self.errors:
return u"\n".join(['REFNANNY: '+error for error in self.errors]) return u"\n".join([u'REFNANNY: '+error for error in self.errors])
else: else:
return None return None
......
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