extras-buildsys/utils extras-push-new,1.23,1.24

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Fri Jun 2 22:54:41 UTC 2006


Author: mschwendt

Update of /cvs/fedora/extras-buildsys/utils
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22482

Modified Files:
	extras-push-new 
Log Message:
interactive program with lock/wait conditions needs status output


Index: extras-push-new
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/extras-push-new,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- extras-push-new	2 Jun 2006 22:06:23 -0000	1.23
+++ extras-push-new	2 Jun 2006 22:54:38 -0000	1.24
@@ -322,10 +322,12 @@
     needsign = os.path.join(stagesdir, distdir)
     
     repolockname = os.path.join(needsign,REPO_LOCKFILE_NAME)
-    print repolockname
     repolock = LockFile(name=repolockname,blocking=True)
     try:
+        print 'Waiting for repository lock:',
+        sys.stdout.flush()
         repolock.lock()
+        print 'OK'
     except IOError, (errno, strerr):
         print "ERROR: lockfile %s failure: %s (error %d)" % (repolockname, strerr, errno)
         sys.exit(errno)




More information about the fedora-extras-commits mailing list