Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Mar 9, 2024
1 parent 9cf289f commit e6c560b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions boa/interpret.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,14 @@ def get_module_fingerprint(
seen = seen or {}
fingerprints = []
for stmt in module_t.import_stmts:
import_info = stmt._metdata["import_info"]
if import_info not in seen:
import_info = stmt._metadata["import_info"]
if id(import_info) not in seen:
if isinstance(import_info.typ, ModuleT):
fingerprint = get_module_fingerprint(import_info.typ, seen)
else:
fingerprint = hash_input(import_info.compiler_input)
seen[import_info] = fingerprint
fingerprint = seen[import_info]
seen[id(import_info)] = fingerprint
fingerprint = seen[id(import_info)]
fingerprints.append(fingerprint)
fingerprints.append(module_t._module.source_sha256sum)

Expand Down

0 comments on commit e6c560b

Please sign in to comment.