Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove shebang from graph.py #1242

Merged
merged 1 commit into from
Dec 6, 2023
Merged

Remove shebang from graph.py #1242

merged 1 commit into from
Dec 6, 2023

Conversation

mtelka
Copy link
Contributor

@mtelka mtelka commented Dec 6, 2023

The shebang is useless in the graph.py file:

$ chmod +x dulwich/graph.py
$ PYTHONPATH=. dulwich/graph.py
Traceback (most recent call last):
  File "/tmp/dulwich/dulwich/graph.py", line 25, in <module>
    from .lru_cache import LRUCache
ImportError: attempted relative import with no known parent package
$

So let's remove it.

See also #1230.

@mtelka mtelka requested a review from jelmer as a code owner December 6, 2023 09:20
@mtelka
Copy link
Contributor Author

mtelka commented Dec 6, 2023

The issue was introduced via #1198.

@jelmer jelmer merged commit 0fe80ad into jelmer:master Dec 6, 2023
16 checks passed
@mtelka mtelka deleted the shebang-graph branch December 6, 2023 10:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants