Skip to content

Commit

Permalink
Update lib/python/pyflyby/_dynimp.py
Browse files Browse the repository at this point in the history
Co-authored-by: saharan-deshaw <Sachin.Saharan@deshaw.com>
  • Loading branch information
divyansshhh and saharan-deshaw authored Dec 6, 2024
1 parent 66f247a commit 84d40cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/pyflyby/_dynimp.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _add_import(ip, names: str, code: str) -> None:
private version of add_import
"""
assert ip is not None
module = PYFLYBY_LAZY_LOAD_PREFIX.split(" ")[1]
module = PYFLYBY_LAZY_LOAD_PREFIX.split()[1]
mang = module + names.replace(",", "_").replace(" ", "_")
a: FrozenSet[Import] = ImportSet(f"from {mang} import {names}")._importset
b: FrozenSet[Import] = ip._auto_importer.db.known_imports._importset
Expand Down

0 comments on commit 84d40cb

Please sign in to comment.