diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-03-02 21:09:59 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-03-02 21:09:59 +0000 |
commit | b0e6124db09855e4d9f56ccd6deaeaabb92abd9c (patch) | |
tree | b92e96df7ee96799ebe8da50c0e071ca8a480339 | |
parent | Add ObjectProxy __gt__, __ge__, __lt__, and __le__ methods to fix TypeError (diff) | |
download | portage-b0e6124db09855e4d9f56ccd6deaeaabb92abd9c.tar.gz portage-b0e6124db09855e4d9f56ccd6deaeaabb92abd9c.tar.bz2 portage-b0e6124db09855e4d9f56ccd6deaeaabb92abd9c.zip |
Remove unused imports. (trunk r15501)
svn path=/main/branches/2.1.7/; revision=15699
-rw-r--r-- | pym/portage/__init__.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 213d4ebb5..ef94ad7ee 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -14,21 +14,17 @@ VERSION="$Rev$"[6:-2] + "-svn" try: import sys import codecs - import copy import errno if not hasattr(errno, 'ESTALE'): # ESTALE may not be defined on some systems, such as interix. errno.ESTALE = -1 - import logging import re - import time import types try: import cPickle as pickle except ImportError: import pickle - import stat try: from subprocess import getstatusoutput as subprocess_getstatusoutput except ImportError: @@ -43,7 +39,6 @@ try: from StringIO import StringIO import platform - import warnings # Temporarily delete these imports, to ensure that only the # wrapped versions are imported by portage internals. @@ -153,8 +148,6 @@ try: INVALID_ENV_FILE, CUSTOM_MIRRORS_FILE, CONFIG_MEMORY_FILE,\ INCREMENTALS, EAPI, MISC_SH_BINARY, REPO_NAME_LOC, REPO_NAME_FILE - from portage.localization import _ - except ImportError as e: sys.stderr.write("\n\n") sys.stderr.write("!!! Failed to complete portage imports. There are internal modules for\n") |