Skip to content

Commit e98e3e1

Browse files
committed
Fix TypeError in python-update-import
1 parent 0b14840 commit e98e3e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@ def update_import_cmd(args):
834834
d = {}
835835
with open(suite_py) as f:
836836
exec(f.read(), d, d) # pylint: disable=exec-used;
837-
for suite in dict["suite"].get("imports", {}).get("suites", []):
837+
for suite in d["suite"].get("imports", {}).get("suites", []):
838838
import_name = suite["name"]
839839
if suite.get("version") and import_name not in local_names:
840840
imports_to_update.add(import_name)

0 commit comments

Comments
 (0)