Commits

Simon Law committed 0706ed5

SortedSet() now looks more like a set

  • Participants
  • Parent commits 3428bb5

Comments (0)

Files changed (1)

south/migration/utils.py

 
 
 class SortedSet(SortedDict):
-    def __init__(self, data):
+    def __init__(self, data=tuple()):
         self.extend(data)
 
+    def __str__(self):
+        return "SortedSet(%s)" % list(self)
+
     def add(self, value):
         self[value] = True