commit: f8ef0cbecbd7a0aec56b8e4aa7b7e5a9b553db2d Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Mon Feb 3 05:06:20 2020 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Mon Feb 3 05:06:34 2020 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f8ef0cbe
sphinx-build: avoid autodoc ModuleNotFoundError for xattr Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> lib/portage/cache/ebuild_xattr.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/portage/cache/ebuild_xattr.py b/lib/portage/cache/ebuild_xattr.py index cc6b06246..33a40fdba 100644 --- a/lib/portage/cache/ebuild_xattr.py +++ b/lib/portage/cache/ebuild_xattr.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright: 2009-2011 Gentoo Foundation +# Copyright: 2009-2020 Gentoo Authors # Author(s): Petteri Räty ([email protected]) # License: GPL2 @@ -14,8 +14,7 @@ from portage import cpv_getkey from portage import os from portage import _encodings from portage import _unicode_decode -portage.proxy.lazyimport.lazyimport(globals(), - 'xattr') +from portage.util._xattr import xattr class NoValueException(Exception): pass
