Commits

charettes  committed 0cde9d5

Fixed a 3 <= Python < 3.3 syntax error

  • Participants
  • Parent commits 4f9e1e6
  • Branches py3

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)