]> git.ipfire.org Git - pakfire.git/commitdiff
Fix display errors when showing the transaction dump.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Jul 2011 20:12:06 +0000 (22:12 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Jul 2011 20:12:06 +0000 (22:12 +0200)
pakfire/transaction.py

index 5f22550799df20c664faff528d5f051fc5e34daf..595a853e06352ac04e24017c579cb2880dde5cc2 100644 (file)
@@ -113,7 +113,7 @@ class Transaction(object):
                download_size = util.format_size(download_size)
                download_time = util.format_time(download_time)
 
-               line = _("%s | %-5sB     %s     ") % \
+               line = "%s | %5sB     %s     " % \
                        (download_speed, download_size, download_time)
                line = " " * (width - len(line)) + line
                logging.info(line)
@@ -194,6 +194,7 @@ class Transaction(object):
                # Download all packages.
                self.download()
 
+               logging.info(_("Running transaction"))
                # Run all actions in order and catch all kinds of ActionError.
                for action in self.actions:
                        try: