add disable array find
This commit is contained in:
@@ -36,10 +36,6 @@ def check_options(opts):
|
|||||||
if not (os.path.isfile(os.path.join(opts.execpath,STATEFILE))):
|
if not (os.path.isfile(os.path.join(opts.execpath,STATEFILE))):
|
||||||
print(STATEFILE+' file not found in folder '+opts.execpath)
|
print(STATEFILE+' file not found in folder '+opts.execpath)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
if opts.query:
|
|
||||||
if not (os.path.isfile(os.path.join(opts.execpath,DRYSTATEFILE))):
|
|
||||||
print(DRYSTATEFILE+' file not found in folder '+opts.execpath)
|
|
||||||
sys.exit(1)
|
|
||||||
if len(opts.inabs) is not len(opts.outabs):
|
if len(opts.inabs) is not len(opts.outabs):
|
||||||
print('A matching pair must be found for each -i/-o argument')
|
print('A matching pair must be found for each -i/-o argument')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|||||||
Reference in New Issue
Block a user