summaryrefslogtreecommitdiffstats
path: root/bin/egencache
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-11 07:47:27 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-11 07:47:27 +0000
commit05e04a148b0f3dac7fc484334a2d89b6f9624827 (patch)
tree07d35efdec1605fac8836b31a4cbc82cb04713b1 /bin/egencache
parenta7d784dcf8a160424dbd4d1a60622d384789c492 (diff)
downloadportage-05e04a148b0f3dac7fc484334a2d89b6f9624827.tar.gz
portage-05e04a148b0f3dac7fc484334a2d89b6f9624827.tar.bz2
portage-05e04a148b0f3dac7fc484334a2d89b6f9624827.zip
Update imports to import portage.os (with unicode wrappers), and use
_unicode_encode() and _unicode_decode() where appropriate. svn path=/main/trunk/; revision=13993
Diffstat (limited to 'bin/egencache')
-rwxr-xr-xbin/egencache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/egencache b/bin/egencache
index f5c644be9..db0eb622d 100755
--- a/bin/egencache
+++ b/bin/egencache
@@ -21,7 +21,6 @@ except KeyboardInterrupt:
import logging
import optparse
-import os
try:
import portage
@@ -30,6 +29,7 @@ except ImportError:
sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym"))
import portage
+from portage import os
from _emerge.MetadataRegen import MetadataRegen
from portage.cache.cache_errors import CacheError, StatCollision
from portage.util import writemsg_level