From e3338128a3e1489003e0334bf3e64efe337c53fc Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Thu, 26 Jun 2014 09:37:25 +0200 Subject: Remove unused imports --- whatmaps/command.py | 7 +++---- whatmaps/debiandistro.py | 1 + whatmaps/redhatdistro.py | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) (limited to 'whatmaps') 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): -- cgit v1.2.3