extras-buildsys/utils/pushscript Push.py,1.47,1.48

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Wed Oct 24 08:28:55 UTC 2007


Author: mschwendt

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

Modified Files:
	Push.py 
Log Message:
comps pass1 may be undefined in config file, too, to disable comps.xml auto-update


Index: Push.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/utils/pushscript/Push.py,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- Push.py	24 Oct 2007 08:22:42 -0000	1.47
+++ Push.py	24 Oct 2007 08:28:52 -0000	1.48
@@ -436,7 +436,7 @@
         print 'Script locked via %s\nIt seems to be in use already.' % lockfile
         sys.exit(errno.EPERM)
 
-    if cfg.comps_up_pass1:
+    if hasattr(cfg,'comps_up_pass1') and cfg.comps_up_pass1:
         print 'Processing comps.xml updates (Ctrl+C to skip)'
         sys.stdout.flush()
         Comps.main(cfg)




More information about the fedora-extras-commits mailing list