Skip to content

Remove shebang from pagesizes/__init__.py #113

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mtelka
Copy link

@mtelka mtelka commented Apr 1, 2024

The pagesizes/__init__.py file cannot be executed:

$ chmod +x domdf_python_tools/pagesizes/__init__.py
$ domdf_python_tools/pagesizes/__init__.py
Traceback (most recent call last):
  File "/tmp/domdf_python_tools/domdf_python_tools/pagesizes/__init__.py", line 42, in <module>
    from .classes import *  # noqa: F401
ImportError: attempted relative import with no known parent package
$

So technically the shebang in the file is wrong. This change removes the shebang.

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