Merge branch 'devel' of dev.sourcefabric.org:airtime into devel
This commit is contained in:
commit
a43d21a7a2
1 changed files with 2 additions and 2 deletions
|
@ -195,8 +195,8 @@ def StorageSetAction(option, opt, value, parser):
|
||||||
parser.rargs.remove('--force')
|
parser.rargs.remove('--force')
|
||||||
if(not bypass):
|
if(not bypass):
|
||||||
errorIfMultipleOption(parser.rargs, "Only [-f] and [--force] option is allowed with this option.")
|
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 = raw_input("Are you sure you want to change the storage direcory? (y/N)")
|
||||||
confirm = confirm or 'N'
|
confirm = confirm or 'N'
|
||||||
while(confirm not in possibleInput):
|
while(confirm not in possibleInput):
|
||||||
print "Not an acceptable input: %s\n" % confirm
|
print "Not an acceptable input: %s\n" % confirm
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue