diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-04-11 23:20:07 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-04-11 23:20:07 -0700 |
commit | a0d55a7bc4a0d595b01a4d11072f813870a58bf5 (patch) | |
tree | 32d6e4e6241a13f6596cf4a1a82b7db6b995fb07 | |
parent | 5a5e51a2737a0855bb562683f50c57cc31587460 (diff) | |
download | portage-a0d55a7bc4a0d595b01a4d11072f813870a58bf5.tar.gz portage-a0d55a7bc4a0d595b01a4d11072f813870a58bf5.tar.bz2 portage-a0d55a7bc4a0d595b01a4d11072f813870a58bf5.zip |
Remove unused imports.
-rwxr-xr-x | bin/repoman | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/bin/repoman b/bin/repoman index 00a1fd50f..23fcd4da8 100755 --- a/bin/repoman +++ b/bin/repoman @@ -30,7 +30,7 @@ except ImportError: from urllib import urlopen as urllib_request_urlopen from itertools import chain -from stat import S_ISDIR, ST_CTIME +from stat import S_ISDIR if not hasattr(__builtins__, "set"): from sets import Set as set @@ -47,22 +47,11 @@ from portage import subprocess_getstatusoutput from portage import _encodings from portage import _unicode_encode from portage import StringIO - -try: - from repoman.checks import run_checks - from repoman import utilities - from repoman.herdbase import make_herd_base -except ImportError: - from os import path as osp - sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), 'pym')) - from repoman.checks import run_checks - from repoman import utilities - from repoman.herdbase import make_herd_base - +from repoman.checks import run_checks +from repoman import utilities +from repoman.herdbase import make_herd_base from _emerge.Package import Package from _emerge.RootConfig import RootConfig -from portage.sets import load_default_config - import portage.checksum import portage.const import portage.dep @@ -72,8 +61,8 @@ from portage import util from portage.exception import FileNotFound, ParseError, PermissionDenied from portage.manifest import Manifest from portage.process import find_binary, spawn -from portage.output import bold, create_color_func, darkgreen, \ - green, nocolor, red, turquoise, yellow +from portage.output import bold, create_color_func, \ + green, nocolor, red from portage.output import ConsoleStyleFile, StyleWriter from portage.util import cmp_sort_key, writemsg_level from portage.package.ebuild.digestgen import digestgen |