summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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