summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2013-03-14 20:07:44 -0500
committerSol Jerome <sol.jerome@gmail.com>2013-03-15 08:18:39 -0500
commitc857457195a59a509e3807bba6c41507ba7c5e61 (patch)
tree91b9bada77681f63824d304047fc5924367074c4
parentf4802888222e447eca4163370dd81bbccc6c7286 (diff)
downloadbcfg2-c857457195a59a509e3807bba6c41507ba7c5e61.tar.gz
bcfg2-c857457195a59a509e3807bba6c41507ba7c5e61.tar.bz2
bcfg2-c857457195a59a509e3807bba6c41507ba7c5e61.zip
Admin: Fix __call__ method in bcfg2-admin init
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rw-r--r--src/lib/Bcfg2/Server/Admin/Init.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/Bcfg2/Server/Admin/Init.py b/src/lib/Bcfg2/Server/Admin/Init.py
index 14065980d..f2d6d7efa 100644
--- a/src/lib/Bcfg2/Server/Admin/Init.py
+++ b/src/lib/Bcfg2/Server/Admin/Init.py
@@ -174,8 +174,6 @@ class Init(Bcfg2.Server.Admin.Mode):
self.data['certpath'] = os.path.join(basepath, 'bcfg2.crt')
def __call__(self, args):
- Bcfg2.Server.Admin.Mode.__call__(self, args)
-
# Parse options
opts = Bcfg2.Options.OptionParser(self.options)
opts.parse(args)
@@ -292,7 +290,7 @@ class Init(Bcfg2.Server.Admin.Mode):
"created [%s]: " % self.data['keypath'])
if keypath:
self.data['keypath'] = keypath
- certpath = safe_input("Path where Bcfg2 server cert will be created"
+ certpath = safe_input("Path where Bcfg2 server cert will be created "
"[%s]: " % self.data['certpath'])
if certpath:
self.data['certpath'] = certpath