summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-10-31 15:32:21 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-10-31 15:32:21 +0000
commit96da11a9b5f22b708a201010949b81b2aaab636a (patch)
tree69b37833aade3c328c8aff48cb20ede3f748ea58 /src/lib/Server
parent8c9342a2ab4aa8f3c2d178b7f50a05ba30213546 (diff)
downloadbcfg2-96da11a9b5f22b708a201010949b81b2aaab636a.tar.gz
bcfg2-96da11a9b5f22b708a201010949b81b2aaab636a.tar.bz2
bcfg2-96da11a9b5f22b708a201010949b81b2aaab636a.zip
Produce better interactive questions for bcfg2-admin
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3896 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Plugins/Cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py
index 084bcdd4c..1a995183e 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -401,7 +401,7 @@ class Cfg(Bcfg2.Server.Plugin.Plugin):
if frag.applies(meta)][-1]
gsq = "Should this change apply to this host of all hosts effected by file %s? (N/y): " % (basefile.name)
if ".H_%s" % (meta.hostname) in basefile.name:
- answer = raw_input(hsq)
+ answer = raw_input(hsq % basefile.name)
else:
answer = raw_input(gsq)