Identity is not the same thing as equality in Python

pull/983/head
Christian Clauss 4 years ago committed by GitHub
parent 616548a9a8
commit 1fd972ee17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save