Identity is not the same thing as equality in Python

This commit is contained in:
Christian Clauss
2020-01-20 13:54:20 +01:00
committed by GitHub
parent 616548a9a8
commit 1fd972ee17

View File

@@ -524,7 +524,7 @@ def cli_main():
else:
infile = argv[1]
outfile = argv[2]
if len(argv) is 4:
if len(argv) == 4:
pidlist = argv[3].split(',')
else:
pidlist = []