summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/Action.py
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2009-05-14 20:12:56 +0000
committerSol Jerome <solj@ices.utexas.edu>2009-05-14 20:12:56 +0000
commitaeca73b5528b8573f0bb499772ff90e5f54f416f (patch)
tree07cac1a732127545429e7d2210a4f9289247a118 /src/lib/Client/Tools/Action.py
parent17311474473bf96f7be17d9fda0153691a6f389b (diff)
downloadbcfg2-aeca73b5528b8573f0bb499772ff90e5f54f416f.tar.gz
bcfg2-aeca73b5528b8573f0bb499772ff90e5f54f416f.tar.bz2
bcfg2-aeca73b5528b8573f0bb499772ff90e5f54f416f.zip
'N' is the default action
Signed-off-by: Sol Jerome <solj@ices.utexas.edu> git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5233 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/Action.py')
-rw-r--r--src/lib/Client/Tools/Action.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/Action.py b/src/lib/Client/Tools/Action.py
index 855962137..0fe198444 100644
--- a/src/lib/Client/Tools/Action.py
+++ b/src/lib/Client/Tools/Action.py
@@ -18,7 +18,7 @@ class Action(Bcfg2.Client.Tools.Tool):
def RunAction(self, entry):
'''This method handles command execution and status return'''
if self.setup['interactive']:
- prompt = 'Run Action %s, %s: (Y/n): ' % (entry.get('name'), entry.get('command'))
+ prompt = 'Run Action %s, %s: (y/N): ' % (entry.get('name'), entry.get('command'))
if raw_input(prompt) not in ['y', 'Y']:
return False
self.logger.debug("Running Action %s" % (entry.get('name')))