summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/SSHbase.py
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-11-12 19:30:28 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-11-12 19:30:28 +0000
commit5227533c2f80f2b4b2927f9462b490852e758cc9 (patch)
treea45efd6ca738b4d3368e0bd5827a03b9916dfdab /src/lib/Server/Plugins/SSHbase.py
parentf6dc08b348c1464801c47a3ceebf935f3981fec6 (diff)
downloadbcfg2-5227533c2f80f2b4b2927f9462b490852e758cc9.tar.gz
bcfg2-5227533c2f80f2b4b2927f9462b490852e758cc9.tar.bz2
bcfg2-5227533c2f80f2b4b2927f9462b490852e758cc9.zip
bcfg2-admin pull fixes
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3947 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Plugins/SSHbase.py')
-rw-r--r--src/lib/Server/Plugins/SSHbase.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/SSHbase.py b/src/lib/Server/Plugins/SSHbase.py
index 41b58da20..a2149611d 100644
--- a/src/lib/Server/Plugins/SSHbase.py
+++ b/src/lib/Server/Plugins/SSHbase.py
@@ -186,7 +186,7 @@ class SSHbase(Bcfg2.Server.Plugin.Plugin, Bcfg2.Server.Plugin.DirectoryBacked):
filename = "%s/%s.H_%s" % (self.data, entry_name.split('/')[-1],
meta.hostname)
print "This file will be installed as file %s" % filename
- if raw_input("Should it be installed? (N/y): ") in 'Yy':
+ if raw_input("Should it be installed? (N/y): ") in ['Y', 'y']:
print "writing file, %s" % filename
if fulldata:
newdata = fulldata