]> git.decadent.org.uk Git - dak.git/commitdiff
OOPS rollback, not commit, dummy
authorMike O'Connor <stew@vireo.org>
Fri, 13 Mar 2009 19:29:22 +0000 (15:29 -0400)
committerMike O'Connor <stew@vireo.org>
Fri, 13 Mar 2009 19:29:22 +0000 (15:29 -0400)
Signed-off-by: Mike O'Connor <stew@vireo.org>
dak/process_accepted.py

index 3d97473fb3ae6255d373af4991fa190ff73e6597..97c5d0d512d5f0c9e692a0fee54abd587d350e97 100755 (executable)
@@ -392,7 +392,7 @@ def install ():
 
             if not database.copy_temporary_contents(package, version, newfile, reject):
                 print "REJECT\n" + reject_message,
-                projectB.query("COMMIT WORK")
+                projectB.query("ROLLBACK")
                 raise MissingContents, "No contents stored for package %s, and couldn't determine contents of %s" % (package, newfile )