extras-buildsys/utils/pushscript BuildSys.py,1.5,1.6
Michael Schwendt
mschwendt at fedoraproject.org
Fri Nov 7 15:22:01 UTC 2008
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15443
Modified Files:
BuildSys.py
Log Message:
get rid of obsolete Utils.debugprint usag
Index: BuildSys.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/BuildSys.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- BuildSys.py 6 Nov 2008 12:09:28 -0000 1.5
+++ BuildSys.py 7 Nov 2008 15:22:00 -0000 1.6
@@ -123,13 +123,13 @@
# Clean up empty package name directories.
if not len(pkgrelroots):
try:
- Utils.debugprint('Removing empty directory %s' % pkgroot)
+ #print('Removing empty directory %s' % pkgroot)
os.rmdir(pkgroot)
except OSError, e:
print e
pass
continue # with next name
- Utils.debugprint( '%s release(s) for %s: %s' % (len(pkgrelroots),name,' '.join(map(lambda f: os.path.basename(f),pkgrelroots))) )
+ #print( '%s release(s) for %s: %s' % (len(pkgrelroots),name,' '.join(map(lambda f: os.path.basename(f),pkgrelroots))) )
# We assume this release to be the newest.
relroot = pkgrelroots[0]
# There can be only one src.rpm in this dir, since relroot
@@ -152,11 +152,11 @@
(nextn,nexta,nexte,nextv,nextr) = Utils.naevr(nextsrcrpm)
# 1 means: e,v,r is higher than nexte,nextv,nextr
if Utils.compareEVR((e,v,r),(nexte,nextv,nextr)) == 1:
- Utils.debugprint('Ignoring: %s' % nextrelroot)
+ #print('Ignoring: %s' % nextrelroot)
br = BuildResults(name,nextrelroot)
br.MarkPushed()
else:
- Utils.debugprint('Ignoring: %s' % relroot)
+ #print('Ignoring: %s' % relroot)
br = BuildResults(name,relroot)
br.MarkPushed()
# Make this the next newest package for ongoing comparison.
More information about the fedora-extras-commits
mailing list