diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-06-26 09:37:25 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-06-28 21:35:22 +0200 |
commit | e3338128a3e1489003e0334bf3e64efe337c53fc (patch) | |
tree | c639a4cd7c8d36335704b63ef42e00e0f050d921 | |
parent | e1b9e7fe3b1fa6b6e829f7eb5787b67d9894cfd1 (diff) |
Remove unused imports
-rwxr-xr-x | whatmaps/command.py | 7 | ||||
-rw-r--r-- | whatmaps/debiandistro.py | 1 | ||||
-rw-r--r-- | whatmaps/redhatdistro.py | 1 |
3 files changed, 4 insertions, 5 deletions
diff --git a/whatmaps/command.py b/whatmaps/command.py index 2593398..e02b176 100755 --- a/whatmaps/command.py +++ b/whatmaps/command.py @@ -18,11 +18,12 @@ from __future__ import print_function +import errno import glob import os import logging +import subprocess import sys -import errno from optparse import OptionParser try: import lsb_release @@ -32,9 +33,7 @@ except ImportError: from . process import Process from . debiandistro import DebianDistro from . redhatdistro import FedoraDistro -from . pkg import Pkg, PkgError -from . debianpkg import DebianPkg -from . rpmpkg import RpmPkg +from . pkg import PkgError def check_maps(procs, shared_objects): diff --git a/whatmaps/debiandistro.py b/whatmaps/debiandistro.py index 3a47d50..af95bc2 100644 --- a/whatmaps/debiandistro.py +++ b/whatmaps/debiandistro.py @@ -29,6 +29,7 @@ import logging import os import subprocess import sys +import string from . distro import Distro from . debianpkg import DebianPkg diff --git a/whatmaps/redhatdistro.py b/whatmaps/redhatdistro.py index 4d9f5cf..9300648 100644 --- a/whatmaps/redhatdistro.py +++ b/whatmaps/redhatdistro.py @@ -20,7 +20,6 @@ import re import subprocess from . distro import Distro -from . pkg import PkgError from . rpmpkg import RpmPkg class RedHatDistro(Distro): |