1. Konstantine Rybnikov
  2. south with list of databases under migration support

Commits

Andrew Godwin  committed 2572704

Fix Python 2.4 incompatibilities

  • Participants
  • Parent commits e8ff464
  • Branches default

Comments (0)

Files changed (1)

File south/exceptions.py

View file
 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):