summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg2-repo-validate8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sbin/bcfg2-repo-validate b/src/sbin/bcfg2-repo-validate
index 09abcba98..4f1e60e08 100755
--- a/src/sbin/bcfg2-repo-validate
+++ b/src/sbin/bcfg2-repo-validate
@@ -14,12 +14,12 @@ if __name__ == '__main__':
'configfile': Bcfg2.Options.CFILE}
setup = Bcfg2.Options.OptionParser(opts)
setup.parse(sys.argv[1:])
- verbose = opts['verbose']
- cpath = opts['configfile']
- prefix = opts['prefix']
+ verbose = setup['verbose']
+ cpath = setup['configfile']
+ prefix = setup['prefix']
schemadir = "%s/share/bcfg2/schemas" % (prefix)
os.chdir(schemadir)
- repo = opts['repo']
+ repo = setup['repo']
filesets = {'metadata':("%s/Metadata/groups.xml", "%s/metadata.xsd"),
'clients':("%s/Metadata/clients.xml", "%s/clients.xsd"),