Fix support for sxp domain configuration files.

Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
This commit is contained in:
cl349@firebug.cl.cam.ac.uk committed 2005-11-19 01:59:43 +01:00
1 parent f2896ff4cd
commit ba0f86655c
1 file changed
+3
+3
View File
@@ -905,6 +905,9 @@ def parseCommandLine(argv):
opts.setopt('name', os.path.basename(opts.getopt('defconfig')))
config = make_config(opts.vals)
if type(config) == str:
config = sxp.parse(file(config))[0]
return (opts, config)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.