[PATCH] Fix debuginfo-install doLock() traceback. BZ 1062479

Valentina Mukhamedzhanova vmukhame at redhat.com
Mon Feb 17 11:35:52 UTC 2014


---
 yum/__init__.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/yum/__init__.py b/yum/__init__.py
index 3b6ed82..37ab468 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -2165,6 +2165,7 @@ much more problems).
                 self._unlock(lockfile)
                 continue
             if oldpid == os.getpid(): # if we own the lock, we're fine
+                ret = 1
                 break
             # Another copy seems to be running.
             msg = _('Existing lock %s: another copy is running as pid %s.') % (lockfile, oldpid)
-- 
1.8.5.3



More information about the Yum-devel mailing list