From c79c9deb539b4cf9dce8e1fb40051c7b76e227fd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 28 Feb 2010 20:33:01 +0000 Subject: [PATCH] Remove unused imports. svn path=/main/trunk/; revision=15501 --- 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") -- 2.26.2