From 49a14cb736d1ca952703e8747dd2636f8f9ef36e Mon Sep 17 00:00:00 2001 From: Lubomír Sedlář Date: Oct 26 2017 16:37:18 +0000 Subject: Remove shebang from app.py 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. --- diff --git a/pag/app.py b/pag/app.py index ce3207a..8db8519 100644 --- a/pag/app.py +++ b/pag/app.py @@ -1,5 +1,3 @@ -#!/usr/bin/env python - import click @@ -41,6 +39,3 @@ from .commands import pullrequest from .commands import gitaliasing from .commands import review from .commands import upload - -if __name__ == '__main__': - app()