temp comit
This commit is contained in:
parent
a45cc5f29e
commit
e19bf33f51
8 changed files with 25 additions and 2 deletions
|
@ -1,6 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Location of pypo_cli.py Python script
|
||||
virtualenv_bin="/home/james/temp/bin/"
|
||||
. ${virtualenv_bin}activate
|
||||
|
||||
airtime_import_path="/usr/lib/airtime/utils/airtime-import/"
|
||||
airtime_import_script="airtime-import.py"
|
||||
|
||||
|
|
|
@ -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