summaryrefslogtreecommitdiff
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/dispatch-conf
parentAvoid using the wrapped os.read(), in order to avoid differing behavior (diff)
downloadportage-idfetch-05e04a148b0f3dac7fc484334a2d89b6f9624827.tar.gz
portage-idfetch-05e04a148b0f3dac7fc484334a2d89b6f9624827.tar.bz2
portage-idfetch-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/dispatch-conf')
-rwxr-xr-xbin/dispatch-conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/dispatch-conf b/bin/dispatch-conf
index 0b96ee54..68fd3e89 100755
--- a/bin/dispatch-conf
+++ b/bin/dispatch-conf
@@ -17,7 +17,7 @@ if not hasattr(__builtins__, "set"):
from stat import *
from random import *
-import atexit, commands, os, re, shutil, stat, sys
+import atexit, commands, re, shutil, stat, sys
try:
import portage
except ImportError:
@@ -25,6 +25,7 @@ except ImportError:
sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym"))
import portage
+from portage import os
from portage import dispatch_conf
from portage.process import find_binary