extras-buildsys/utils/pushscript Comps.py,1.4,1.5
Michael Schwendt
mschwendt at fedoraproject.org
Thu Nov 6 12:19:50 UTC 2008
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30998
Modified Files:
Comps.py
Log Message:
- update for changed/new repo path helpers
Index: Comps.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/Comps.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- Comps.py 23 Feb 2007 18:47:05 -0000 1.4
+++ Comps.py 6 Nov 2008 12:19:50 -0000 1.5
@@ -160,10 +160,10 @@
# First repo gets a new copy, further repos a hardlink.
oldfingerprint = None
newfingerprint = _fingerprint(compsvalid)
- reporoot = os.path.join(self.cfg.treedir,dist)
linkloc = None
for arch in self.cfg.archdict[dist]: # list of repo archs
- compstarget = os.path.join(reporoot,arch,'comps.xml')
+ repodir = Utils.rpm_repodir(self.cfg,self.cfg.dist,arch)
+ compstarget = os.path.join(repodir,'comps.xml')
if not oldfingerprint:
oldfingerprint = _fingerprint(compstarget)
if os.path.exists(compstarget) and (oldfingerprint == newfingerprint):
More information about the fedora-extras-commits
mailing list