From 65c156deccbe2bde8a98f12cede10195f42083fc Mon Sep 17 00:00:00 2001 From: acrefoot Date: Wed, 22 May 2013 14:34:25 -0400 Subject: [PATCH] Fix "WARNING: there is no transaction in progress" (imported from commit e8a985b610990a4e937a527e85189e927c42667c) --- zephyr/tests/generate-fixtures | 2 -- 1 file changed, 2 deletions(-) diff --git a/zephyr/tests/generate-fixtures b/zephyr/tests/generate-fixtures index f239bb2601..3f7fa457ba 100755 --- a/zephyr/tests/generate-fixtures +++ b/zephyr/tests/generate-fixtures @@ -14,7 +14,6 @@ if [ $template_grep_error_code == "0" ]; then psql -h localhost postgres humbug_test << EOF DROP DATABASE humbug_test; CREATE DATABASE humbug_test TEMPLATE humbug_test_template; -COMMIT; EOF exit 0 fi @@ -45,5 +44,4 @@ python manage.py dumpdata --settings=humbug.test_settings \ psql -h localhost postgres humbug_test << EOF DROP DATABASE humbug_test_template; CREATE DATABASE humbug_test_template TEMPLATE humbug_test; -COMMIT; EOF