Commits

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

Comments (0)

Files changed (1)

File south/db/generic.py

             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)))
 
         try:
             cursor.execute(sql, params)