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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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 = []