diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Client/Tools/YUMng.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py index aba52315a..00020bd9b 100644 --- a/src/lib/Client/Tools/YUMng.py +++ b/src/lib/Client/Tools/YUMng.py @@ -87,11 +87,11 @@ class RPMDisplay(yum.rpmtrans.RPMBaseCallback): @param ts_total: total number of processes in the transaction. """ - if self.package != package or action != self.state: + if self.package != str(package) or action != self.state: msg = "%s: %s" % (self.action[action], package) self.logger.info(msg) self.state = action - self.package = package + self.package = str(package) def scriptout(self, package, msgs): """Handle output from package scripts.""" |