[yum-cvs] yum/yum __init__.py,1.322,1.323

Jeremy Katz katzj at linux.duke.edu
Wed Apr 25 18:18:26 UTC 2007


Update of /home/groups/yum/cvs/yum/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv12854/yum

Modified Files:
	__init__.py 
Log Message:
report what the other pid is (rh#201393)


Index: __init__.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/yum/__init__.py,v
retrieving revision 1.322
retrieving revision 1.323
diff -u -r1.322 -r1.323
--- __init__.py	24 Apr 2007 20:06:00 -0000	1.322
+++ __init__.py	25 Apr 2007 18:18:24 -0000	1.323
@@ -657,7 +657,7 @@
                         raise Errors.LockError(1, msg)
                 else:
                     # Another copy seems to be running.
-                    msg = 'Existing lock %s: another copy is running. Aborting.' % lockfile
+                    msg = 'Existing lock %s: another copy is running as pid %s. Aborting.' % (lockfile, oldpid)
                     raise Errors.LockError(0, msg)
     
     def doUnlock(self, lockfile = YUM_PID_FILE):




More information about the Yum-cvs-commits mailing list