summaryrefslogtreecommitdiffstats
path: root/pym/portage/_selinux.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-01-28 23:54:50 -0800
committerZac Medico <zmedico@gentoo.org>2011-01-28 23:54:50 -0800
commit149482208c430cbd9d730c35256430ea6cf58c3d (patch)
tree4351f626ea44a5fd262a97c3c7a569d458334bb1 /pym/portage/_selinux.py
parenta3ddca88b876d359ef92d9544999d1bf580061fb (diff)
downloadportage-149482208c430cbd9d730c35256430ea6cf58c3d.tar.gz
portage-149482208c430cbd9d730c35256430ea6cf58c3d.tar.bz2
portage-149482208c430cbd9d730c35256430ea6cf58c3d.zip
Test import of all modules.
Diffstat (limited to 'pym/portage/_selinux.py')
-rw-r--r--pym/portage/_selinux.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/_selinux.py b/pym/portage/_selinux.py
index d86dd9594..9470978c4 100644
--- a/pym/portage/_selinux.py
+++ b/pym/portage/_selinux.py
@@ -1,4 +1,4 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Don't use the unicode-wrapped os and shutil modules here since
@@ -11,8 +11,8 @@ from portage import _encodings
from portage import _unicode_decode
from portage import _unicode_encode
from portage.localization import _
-
-import selinux
+portage.proxy.lazyimport.lazyimport(globals(),
+ 'selinux')
def copyfile(src, dest):
src = _unicode_encode(src, encoding=_encodings['fs'], errors='strict')