Skip to content

Commit

Permalink
Fix a tiny little bug on an exception raised when circular version de…
Browse files Browse the repository at this point in the history
…pendency happens
  • Loading branch information
khangnguyen committed Oct 4, 2014
1 parent af3a0b6 commit aeb009c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schemup/upgraders.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def copy(self):

def push(self, upgrader):
if upgrader.toVersion in self.seen:
raise ValueError("Upgrader cycle", self.steps, version)
raise ValueError("Upgrader cycle", self.steps, upgrader.toVersion)
self.seen.add(upgrader.toVersion)
self.steps.append(upgrader)

Expand Down

0 comments on commit aeb009c

Please sign in to comment.