Skip to content

Commit

Permalink
continue execution even if there is nothing to migrate so that signal…
Browse files Browse the repository at this point in the history
…s fire and loaddata runs
  • Loading branch information
paltman committed Mar 4, 2011
1 parent e1ec65b commit d9fe1b2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nashvegas/management/commands/upgradedb.py
Expand Up @@ -158,8 +158,7 @@ def execute_migrations(self, show_traceback=False):
migrations = self._filter_down()

if not len(migrations):
print "There are no migrations to apply."
return
sys.stdout.write("There are no migrations to apply.\n")

created_models = []

Expand Down

0 comments on commit d9fe1b2

Please sign in to comment.