Commits

Philip Jenvey  committed e709308

py3 needs a py3 str

  • Participants
  • Parent commits de2ab68
  • Branches py3k

Comments (0)

Files changed (1)

File lib_pypy/_sqlite3.py

         for i in xrange(_lib.sqlite3_column_count(self._statement)):
             name = _lib.sqlite3_column_name(self._statement, i)
             if name:
-                name = _ffi.string(name).split("[")[0].strip()
+                name = _ffi.string(name).decode('utf-8').split("[")[0].strip()
             desc.append((name, None, None, None, None, None, None))
         return desc