Identity is not the same thing as equality in Python
This commit is contained in:
parent
616548a9a8
commit
1fd972ee17
|
@ -524,7 +524,7 @@ def cli_main():
|
||||||
else:
|
else:
|
||||||
infile = argv[1]
|
infile = argv[1]
|
||||||
outfile = argv[2]
|
outfile = argv[2]
|
||||||
if len(argv) is 4:
|
if len(argv) == 4:
|
||||||
pidlist = argv[3].split(',')
|
pidlist = argv[3].split(',')
|
||||||
else:
|
else:
|
||||||
pidlist = []
|
pidlist = []
|
||||||
|
|
Loading…
Reference in New Issue