Permalink
Browse files

remove BEGIN/COMMIT statements from create output

  • Loading branch information...
1 parent 47f19d7 commit 740ecd080ef4aa3dd953dcff9f8817b9ef0319f0 @paltman paltman committed Jan 23, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 nashvegas/management/commands/upgradedb.py
@@ -122,9 +122,8 @@ def init_nashvegas(self):
def create_migrations(self):
statements = get_sql_for_new_models()
if len(statements) > 0:
- print "BEGIN;"
for s in statements:
- print s
+ print s.replace("COMMIT;", "")
@transaction.commit_manually
def execute_migrations(self, show_traceback=False):

0 comments on commit 740ecd0

Please sign in to comment.