Skip to content

Commit a7e8072

Browse files
Replaced == to is for null comparsion
1 parent e9559a5 commit a7e8072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/tests/py/metadata.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def __resolve_env_vals__(self, metadata_dict):
6363
metadata_dict[run_arg]=run_arg_val
6464
continue
6565

66-
if run_arg_val == None:
66+
if run_arg_val is None:
6767
continue
6868

6969
sub_args = run_arg_val.split('/')
@@ -77,7 +77,7 @@ def __resolve_env_vals__(self, metadata_dict):
7777
# if a argument has been specified in the comment header
7878
# but can't be found in the env file, consider it to be
7979
# boolean value.
80-
if run_arg_val == None:
80+
if run_arg_val is None:
8181
run_arg_val = True
8282

8383
if not self.__is_run_arg_valid__(run_arg_val):

0 commit comments

Comments
 (0)