Blame SOURCES/BZ-1147992-debuginfo-install-dolock-exception.patch

65829f
commit 221d46dde594ca9b69915ac128fc1a9a19f984a1
65829f
Author: Valentina Mukhamedzhanova <vmukhame@redhat.com>
65829f
Date:   Mon Feb 17 12:31:59 2014 +0100
65829f
65829f
    Fix debuginfo-install doLock() traceback. BZ 1062479
65829f
65829f
diff --git a/yum/__init__.py b/yum/__init__.py
65829f
index 3b6ed82..37ab468 100644
65829f
--- a/yum/__init__.py
65829f
+++ b/yum/__init__.py
65829f
@@ -2165,6 +2165,7 @@ much more problems).
65829f
                 self._unlock(lockfile)
65829f
                 continue
65829f
             if oldpid == os.getpid(): # if we own the lock, we're fine
65829f
+                ret = 1
65829f
                 break
65829f
             # Another copy seems to be running.
65829f
             msg = _('Existing lock %s: another copy is running as pid %s.') % (lockfile, oldpid)