Commits

Simon Williams committed 653183e

Fixed parse error in parents

  • Participants
  • Parent commits 2e6c0d9

Comments (0)

Files changed (1)

         if not self.parents:
             self.parents = [int(self.rev)-1]
         else:
-            self.parents = [int(p) for p in self.parents.split()]
+            self.parents = [int(p.split(':')[0]) for p in self.parents.split()]
 
     def __eq__(self, other):
         """Returns true if self.node == other.node"""