get_lock_owner() returns a valid locker PID (not a zombie process) but get_process_info(PID) fails. This needs more investigation. At least, make the locker PID readable by not flooding the screen. --- yummain.py | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/yummain.py b/yummain.py index e3a232b..648cf86 100755 --- a/yummain.py +++ b/yummain.py @@ -132,10 +132,8 @@ def main(args): if not base.conf.exit_on_lock: logger.critical(_("Another app is currently holding the yum lock; waiting for it to exit...")) - tm = 0.1 - if show_lock_owner(e.pid, logger): - tm = 2 - time.sleep(tm) + show_lock_owner(e.pid, logger) + time.sleep(2) else: logger.critical(_("Another app is currently holding the yum lock; exiting as configured by exit_on_lock")) return 1 -- 1.7.4.4 _______________________________________________ Yum-devel mailing list Yum-devel@lists.baseurl.org http://lists.baseurl.org/mailman/listinfo/yum-devel