extras-buildsys/utils/pushscript Push.py,1.46,1.47
Michael Schwendt (mschwendt)
fedora-extras-commits at redhat.com
Wed Oct 24 08:22:45 UTC 2007
Author: mschwendt
Update of /cvs/fedora/extras-buildsys/utils/pushscript
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17853
Modified Files:
Push.py
Log Message:
diversion_dict (old hook for mugshot builds) may be undefined in config files
Index: Push.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/Push.py,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- Push.py 23 Oct 2007 21:38:43 -0000 1.46
+++ Push.py 24 Oct 2007 08:22:42 -0000 1.47
@@ -270,7 +270,7 @@
name = br.GetName()
clogdiff = WhatsNew.getclogdiff(dist,name,br.GetSourcePkg(),ts)
newclog = WhatsNew.readclog(br.GetSourcePkg(),ts)
- if name in cfg.diversion_dict: # install this elsewhere?
+ if hasattr(cfg,'diversion_dict') and name in cfg.diversion_dict: # install this elsewhere?
buildreport = NoBuildReportManager()
targetroot = os.path.join(cfg.diversion_dict[name],dist)
if os.path.exists(targetroot):
More information about the fedora-extras-commits
mailing list