1. Andrew Godwin
  2. south

Commits

Andrew Godwin  committed 6612130

Fixed #1228: Bad error raising in UnknownMigration

  • Participants
  • Parent commits c4847b2
  • Branches default

Comments (0)

Files changed (1)

File south/exceptions.py

View file
  • Ignore whitespace
 
 class UnknownMigration(BrokenMigration):
     def __str__(self):
+        if not hasattr(self, "traceback"):
+            self.traceback = ""
         return ("Migration '%(migration)s' probably doesn't exist.\n"
                 '%(traceback)s' % self.__dict__)