Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Remove shebang from pagesizes/__init__.py#113

Open
mtelka wants to merge 1 commit into
domdfcoding:master from
mtelka:shebang
Open

Remove shebang from pagesizes/__init__.py #113
mtelka wants to merge 1 commit into
domdfcoding:master from
mtelka:shebang

Conversation

@mtelka

@mtelka mtelka commented Apr 1, 2024

Copy link
Copy Markdown

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

Reviewers

@domdfcoding domdfcoding Awaiting requested review from domdfcoding

At least 1 approving review is required to merge this pull request.

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /