Commits

Andrew Godwin  committed 2572704

Fix Python 2.4 incompatibilities

  • Participants
  • Parent commits e8ff464

Comments (0)

Files changed (1)

File south/exceptions.py

 class ConstraintDropped(SouthWarning):
     def __init__(self, constraint, table, column=None):
         self.table = table
-        self.column = (".%s" % column) if column else ""
+        if column:
+            self.column = ".%s" % column
+        else:
+            self.column = ""
         self.constraint = constraint
     
     def __str__(self):