CC-2546: Airtime-import does not confirm
- fix on error. wrong syntax was used
This commit is contained in:
parent
a45cc5f29e
commit
7cf8934856
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ def StorageSetAction(option, opt, value, parser):
|
|||
parser.rargs.remove('--force')
|
||||
if(not bypass):
|
||||
errorIfMultipleOption(parser.rargs, "Only [-f] and [--force] option is allowed with this option.")
|
||||
possibleInput = {'y','Y','n','N'}
|
||||
possibleInput = ['y','Y','n','N']
|
||||
confirm = raw_input("Are you sure you want to change the storage direcory? (y/N)")
|
||||
confirm = confirm or 'N'
|
||||
while(confirm not in possibleInput):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue