summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-info
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-xsrc/sbin/bcfg2-info7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index bd04b599a..4d4e1aea1 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -25,10 +25,10 @@ def printTabular(rows):
class infoCore(cmd.Cmd, Bcfg2.Server.Core.Core):
- def __init__(self, repo, plgs, passwd, vcs, encoding, event_debug):
+ def __init__(self, repo, plgs, passwd, encoding, event_debug):
cmd.Cmd.__init__(self)
try:
- Bcfg2.Server.Core.Core.__init__(self, repo, plgs, passwd, vcs,
+ Bcfg2.Server.Core.Core.__init__(self, repo, plgs, passwd,
encoding)
if event_debug:
self.fam.debug = True
@@ -294,7 +294,6 @@ if __name__ == '__main__':
'help': Bcfg2.Options.HELP,
}
optinfo.update({'repo': Bcfg2.Options.SERVER_REPOSITORY,
- 'vcs': Bcfg2.Options.SERVER_VCS,
'plugins': Bcfg2.Options.SERVER_PLUGINS,
'password': Bcfg2.Options.SERVER_PASSWORD,
'event debug': Bcfg2.Options.DEBUG,
@@ -303,7 +302,7 @@ if __name__ == '__main__':
setup.parse(sys.argv[1:])
print setup
loop = infoCore(setup['repo'], setup['plugins'],
- setup['password'], setup['vcs'], setup['encoding'],
+ setup['password'], setup['encoding'],
'-d' in sys.argv)
if "args" in setup and setup['args']:
loop.onecmd(" ".join(setup['args']))