1. Dmitry Selitsky
  2. south


Andrew Godwin  committed 6df4198 Merge

Merged in charettes/south/py3 (pull request #97: Fixed a 3 <= Python < 3.3 syntax error)

  • Participants
  • Parent commits 4f9e1e6, 0cde9d5
  • Branches default

Comments (0)

Files changed (1)

File south/db/generic.py

View file
  • Ignore whitespace
             return res
 from south.logger import get_logger
-from south.utils.py3 import string_types
+from south.utils.py3 import string_types, text_type
 def alias(attrname):
         if self.dry_run:
             return []
-        get_logger().debug(u'execute "%s" with params "%s"' % (sql, params))
+        get_logger().debug(text_type('execute "%s" with params "%s"' % (sql, params)))
             cursor.execute(sql, params)