From db8576472e3c76dc495ba45792c8dc7f1bb4be46 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 15 Dec 2016 12:12:25 +0100 Subject: flake8 cleanups --- whatmaps/command.py | 1 + whatmaps/distro.py | 1 + 2 files changed, 2 insertions(+) diff --git a/whatmaps/command.py b/whatmaps/command.py index e28a8b9..74d85da 100755 --- a/whatmaps/command.py +++ b/whatmaps/command.py @@ -259,6 +259,7 @@ def main(argv): def run(): return(main(sys.argv)) + if __name__ == '__main__': sys.exit(main(sys.argv)) diff --git a/whatmaps/distro.py b/whatmaps/distro.py index 29d2dc2..87e264e 100644 --- a/whatmaps/distro.py +++ b/whatmaps/distro.py @@ -112,6 +112,7 @@ class Distro(object): def detect(): return detect() + import whatmaps.debiandistro # noqa: E402 import whatmaps.redhatdistro # noqa: E402 -- cgit v1.2.3