Merge pull request #4990 from auser/patch-1

Updated key.py to fix isue #4989
This commit is contained in:
Thomas S Hatch 2013-05-11 19:52:35 -07:00
commit 71d79f4149

View File

@ -104,6 +104,13 @@ class KeyCLI(object):
raise SystemExit("\nExiting on CTRL-c")
if veri.lower().startswith('y'):
self.key.delete_key(match)
else:
print('Deleting the following keys:')
salt.output.display_output(
matches,
'key',
self.opts)
self.key.delete_key(match)
def delete_all(self):
'''