Skip to content

Conversation

meeuw
Copy link
Contributor

@meeuw meeuw commented Oct 8, 2017

remove shebangs and unusable main code

these python scripts don't contain "main code" (to be executed stand only), I don't see why a shebang (#!) should be added.

the removed "main code" is unusable (as far as I know), when executing it gives the following error: ImportError: cannot import name 'capabilities'

The shebang in these scripts are against the packing guidelines for Fedora and requires this patchwork:
http://pkgs.fedoraproject.org/cgit/rpms/python-PyMySQL.git/tree/python-PyMySQL.spec#n64

@methane
Copy link
Member

methane commented Oct 12, 2017

thanks

@methane methane merged commit dc01c6e into PyMySQL:master Oct 12, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants