49a14cb
@@ -1,5 +1,3 @@
- #!/usr/bin/env python
-
import click
@@ -41,6 +39,3 @@
from .commands import gitaliasing
from .commands import review
from .commands import upload
- if __name__ == '__main__':
- app()
The module is not executable, and even running it with python explicitly gives an error message about relative import outside of a package.
Removing these lines will fix errors reported by rpmlint.
This is the taskotron log reporting it: https://taskotron.fedoraproject.org/artifacts/all/2dbd21aa-b429-11e7-ab88-525400817a8f/task_output/pag-0.7-1.fc26.log
:+1:
Pull-Request has been merged by ralph
The module is not executable, and even running it with python explicitly
gives an error message about relative import outside of a package.
Removing these lines will fix errors reported by rpmlint.