File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ def add_expansion_groups(filename):
137
137
requires_expansion_group = []
138
138
for groupname in f ['globals' ]:
139
139
group = f ['globals' ][groupname ]
140
- if not 'expansion' in group :
140
+ if 'expansion' not in group :
141
141
requires_expansion_group .append (groupname )
142
142
if requires_expansion_group :
143
143
group_globalslists = [get_globalslist (filename , groupname ) for groupname in requires_expansion_group ]
@@ -512,7 +512,7 @@ def evaluate_globals(sequence_globals, raise_exceptions=True):
512
512
for global_name in sequence_globals [group_name ]:
513
513
# Do not attempt to override exception objects already stored
514
514
# as the result of multiply defined globals:
515
- if not global_name in results [group_name ]:
515
+ if global_name not in results [group_name ]:
516
516
results [group_name ][global_name ] = evaled_globals [global_name ]
517
517
518
518
return results , global_hierarchy , expansions
You can’t perform that action at this time.
0 commit comments