* [gentoo-commits] portage r15501 - main/trunk/pym/portage
@ 2010-02-28 20:33 99% Zac Medico (zmedico)
0 siblings, 0 replies; 1+ results
From: Zac Medico (zmedico) @ 2010-02-28 20:33 UTC (permalink / raw
To: gentoo-commits
Author: zmedico
Date: 2010-02-28 20:33:01 +0000 (Sun, 28 Feb 2010)
New Revision: 15501
Modified:
main/trunk/pym/portage/__init__.py
Log:
Remove unused imports.
Modified: main/trunk/pym/portage/__init__.py
===================================================================
--- main/trunk/pym/portage/__init__.py 2010-02-28 14:19:16 UTC (rev 15500)
+++ main/trunk/pym/portage/__init__.py 2010-02-28 20:33:01 UTC (rev 15501)
@@ -14,21 +14,17 @@
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 @@
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 @@
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")
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-02-28 20:33 99% [gentoo-commits] portage r15501 - main/trunk/pym/portage Zac Medico (zmedico)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox