summaryrefslogtreecommitdiffstats
path: root/bin/quickpkg
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/quickpkg
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/quickpkg')
-rwxr-xr-xbin/quickpkg4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/quickpkg b/bin/quickpkg
index 0a1346e4e..53f7e9b27 100755
--- a/bin/quickpkg
+++ b/bin/quickpkg
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import errno, signal, sys, os
+import errno, signal, sys
from itertools import izip
try:
@@ -13,6 +13,8 @@ except ImportError:
sys.path.insert(0, osp.join(osp.dirname(osp.dirname(osp.realpath(__file__))), "pym"))
import portage
+from portage import os
+
def quickpkg_main(options, args, eout):
from portage import catsplit, dep_expand, flatten, isvalidatom, xpak
from portage.dep import use_reduce, paren_reduce