Skip to content

Commit

Permalink
rename installed to instld in one more place
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Sep 5, 2023
1 parent dbe3e24 commit 3712417
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions instld/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from tempfile import TemporaryDirectory
from threading import RLock

import installed
import instld
from instld.cli.parsing_comments.get_options_from_comments import get_options_from_comments
from instld.cli.parsing_arguments.get_python_file import get_python_file
from instld.cli.traceback_cutting.cutting import set_cutting_excepthook
Expand All @@ -16,7 +16,7 @@
def start():
python_file = get_python_file()

with installed() as context:
with instld() as context:
lock = RLock()
old_import = builtins.__import__
locations = {}
Expand All @@ -37,7 +37,7 @@ def get_current_context(where):
if location_context is not None:
return location_context[1]

manager = installed(where=where)
manager = instld(where=where)
local_context = manager.__enter__()
locations[where] = (manager, local_context)
return local_context
Expand Down
1 change: 0 additions & 1 deletion tests/cli/data/main.py

This file was deleted.

0 comments on commit 3712417

Please sign in to comment.