summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-08-14 06:08:27 +0000
committerZac Medico <zmedico@gentoo.org>2009-08-14 06:08:27 +0000
commitef776177fb25bdade22637fa8ae50e0bdf6dbe14 (patch)
treee710237591a5641c2859160c1c62ed72bc229d07
parentf08a6765a443ed104889a3a15a4f42c3a0eece3b (diff)
downloadportage-ef776177fb25bdade22637fa8ae50e0bdf6dbe14.tar.gz
portage-ef776177fb25bdade22637fa8ae50e0bdf6dbe14.tar.bz2
portage-ef776177fb25bdade22637fa8ae50e0bdf6dbe14.zip
Don't use the unicode-wrapped os and shutil modules here since
the whole _selinux module itself will be wrapped. svn path=/main/trunk/; revision=14023
-rw-r--r--pym/portage/_selinux.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/pym/portage/_selinux.py b/pym/portage/_selinux.py
index e91eb110c..e92c21fc9 100644
--- a/pym/portage/_selinux.py
+++ b/pym/portage/_selinux.py
@@ -2,9 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
+# Don't use the unicode-wrapped os and shutil modules here since
+# the whole _selinux module itself will be wrapped.
+import os
+import shutil
+
import portage
-from portage import os
-from portage import shutil
import selinux
from selinux import is_selinux_enabled, getfilecon, lgetfilecon