Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: pypa/pyproject-hooks
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: e978d05438bf3a119333e60db36ad7012fef30a4
Choose a base ref
..
head repository: pypa/pyproject-hooks
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: f71a8f5399859a9a989c51cd13a456f21f98d947
Choose a head ref
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/pyproject_hooks/_in_process/_in_process.py
4 changes: 2 additions & 2 deletions src/pyproject_hooks/_in_process/_in_process.py
Original file line number Diff line number Diff line change
@@ -349,8 +349,8 @@ def main():
if hook_name not in HOOK_NAMES:
sys.exit("Unknown hook: %s" % hook_name)

# Remove the current directory from sys.path to avoid polluting the backend
# import namespace with the current directory.
# Remove the parent directory from sys.path to avoid polluting the backend
# import namespace with this directory.
here = os.path.dirname(__file__)
if here in sys.path:
sys.path.remove(here)