summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py7
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")