Don't use the unicode-wrapped os and shutil modules here since
authorZac Medico <zmedico@gentoo.org>
Fri, 14 Aug 2009 06:08:27 +0000 (06:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 14 Aug 2009 06:08:27 +0000 (06:08 -0000)
the whole _selinux module itself will be wrapped.

svn path=/main/trunk/; revision=14023

pym/portage/_selinux.py

index e91eb110cddeb45b2834cff78dae9ec2d3060bad..e92c21fc9531c5bd7c1f889c7a2b40343340472d 100644 (file)
@@ -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