diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-09-23 13:03:38 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-09-23 13:11:07 +0200 |
commit | 04ec8384e2b7332c5f7d047ed28b91c9d15c7327 (patch) | |
tree | 1d94878f8aad0615a8b8545f6a8c7b3301656b74 /whatmaps/command.py | |
parent | 9cb7517443b8dc25596a3d3b1fb75f05380c1f19 (diff) |
command: Use a distro instance instead of class
so we can invoke non-static and non-class methods
Diffstat (limited to 'whatmaps/command.py')
-rwxr-xr-x | whatmaps/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/whatmaps/command.py b/whatmaps/command.py index 8d0be31..7d17191 100755 --- a/whatmaps/command.py +++ b/whatmaps/command.py @@ -158,7 +158,7 @@ def main(argv): logging.basicConfig(level=level, format='%(levelname)s: %(message)s') - distro = Distro.detect() + distro = Distro.detect()() if not distro: logging.error("Unsupported Distribution") return 1 |