Skip to content

Commit

Permalink
Fix pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Aug 29, 2023
1 parent e394c5c commit 9254baa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions relenv/runtime.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,7 @@


def path_import(name, path):
spec = importlib.util.spec_from_file_location(
"relenv.common", path
)
spec = importlib.util.spec_from_file_location("relenv.common", path)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
sys.modules[name] = module
Expand All @@ -46,6 +44,7 @@ def path_import(name, path):
relocate = path_import(
"relenv.relocate", str(pathlib.Path(__file__).parent / "relocate.py")
)

common = path_import("relenv.common", str(pathlib.Path(__file__).parent / "common.py"))


Expand Down

0 comments on commit 9254baa

Please sign in to comment.