]> git.ipfire.org Git - pakfire.git/commitdiff
The transaction dump for empty transaction was not correctly skipped.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 5 Apr 2012 18:01:38 +0000 (20:01 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 5 Apr 2012 18:01:38 +0000 (20:01 +0200)
python/pakfire/transaction.py

index 7da927f8f48b87a98ddfb9b441db565223fe51f2..9610f61ed15e1c10a17973c5bec7f0274906248b 100644 (file)
@@ -352,6 +352,7 @@ class Transaction(object):
 
                if not self.actions:
                        logger.info(_("Nothing to do"))
+                       return
 
                width = 80
                line = "=" * width