[PATCH] Remove emitCheckFailed(), change it to logger.error(). BZ 1048391

Zdenek Pavlas zpavlas at redhat.com
Mon Jan 6 14:06:11 UTC 2014

> Make acquireLock() respect debuglevel.

ACK. If the user does not want to see errors this should go away,
as it's not critical and (likely) just temporary.

> -            self.emitLockFailed("%s" % e)
> +            self.logger.error("Failed to acquire the yum lock with the
> following error message: \n%s", e)

Now I see it's multiline.. should avoid that in log output.
"Failed to acquire the yum lock: %s" is probably more than enough.

More information about the Yum-devel mailing list