]> git.ipfire.org Git - people/ms/pakfire.git/commitdiff
Accidentially removed raise of TransactionCheckError.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Oct 2011 14:46:31 +0000 (16:46 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 1 Oct 2011 14:46:31 +0000 (16:46 +0200)
python/pakfire/transaction.py

index dbc34272aaec461d5d6c105b0c49f3b7162f2383..c7b6e72ad416759555c4e70b5c669a7f21b5581b 100644 (file)
@@ -330,8 +330,11 @@ class Transaction(object):
                        logging.info(_("Transaction Test Succeeded"))
                        return
 
+               # In case of an unsuccessful transaction test, we print the error
+               # and raise TransactionCheckError.
                check.print_errors()
-               #raise TransactionCheckError, _("Transaction test was not successful")
+
+               raise TransactionCheckError, _("Transaction test was not successful")
 
        def run(self):
                # Download all packages.