aboutsummaryrefslogtreecommitdiff
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/glsa-check
parentAvoid using the wrapped os.read(), in order to avoid differing behavior (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/glsa-check')
-rwxr-xr-xbin/glsa-check2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/glsa-check b/bin/glsa-check
index 74a9ee7d0..ad06136e2 100755
--- a/bin/glsa-check
+++ b/bin/glsa-check
@@ -3,7 +3,6 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-import os
import sys
try:
@@ -13,6 +12,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.output import *
from optparse import OptionGroup, OptionParser