mock mock.py,1.45,1.46
Seth Vidal (skvidal)
fedora-extras-commits at redhat.com
Sun May 14 04:48:14 UTC 2006
- Previous message (by thread): rpms/pan/devel pan-0.97-crash-on-shutdown.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 pan.spec, 1.14, 1.15 sources, 1.7, 1.8 pan-0.96-upstream-sort_segfault.patch, 1.1, NONE pan-0.96-upstream-subscribed_group.patch, 1.1, NONE
- Next message (by thread): mock/etc defaults.cfg,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: skvidal
Update of /cvs/fedora/mock
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv456
Modified Files:
mock.py
Log Message:
check in global defaults patch from Andreas Thienemann
Index: mock.py
===================================================================
RCS file: /cvs/fedora/mock/mock.py,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- mock.py 12 May 2006 20:57:03 -0000 1.45
+++ mock.py 14 May 2006 04:48:11 -0000 1.46
@@ -735,6 +735,14 @@
if options.configdir:
config_path = options.configdir
+ # Read in the default values which can be overwritten
+ # with the more specific config being loaded below.
+ cfg = os.path.join(config_path, 'defaults.cfg')
+ if os.path.exists(cfg):
+ execfile(cfg)
+ else:
+ pass # not finding the defaults.cfg file is no error
+
# read in the config file by chroot name
if options.chroot.endswith('.cfg'):
cfg = '%s/%s' % (config_path, options.chroot)
- Previous message (by thread): rpms/pan/devel pan-0.97-crash-on-shutdown.patch, NONE, 1.1 .cvsignore, 1.7, 1.8 pan.spec, 1.14, 1.15 sources, 1.7, 1.8 pan-0.96-upstream-sort_segfault.patch, 1.1, NONE pan-0.96-upstream-subscribed_group.patch, 1.1, NONE
- Next message (by thread): mock/etc defaults.cfg,NONE,1.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list