From b0e6124db09855e4d9f56ccd6deaeaabb92abd9c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 Mar 2010 21:09:59 +0000 Subject: Remove unused imports. (trunk r15501) svn path=/main/branches/2.1.7/; revision=15699 --- pym/portage/__init__.py | 7 ------- 1 file changed, 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") -- cgit v1.2.3-1-g7c22