1 |
commit: f8ef0cbecbd7a0aec56b8e4aa7b7e5a9b553db2d |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Feb 3 05:06:20 2020 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 3 05:06:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=f8ef0cbe |
7 |
|
8 |
sphinx-build: avoid autodoc ModuleNotFoundError for xattr |
9 |
|
10 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
11 |
|
12 |
lib/portage/cache/ebuild_xattr.py | 5 ++--- |
13 |
1 file changed, 2 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/lib/portage/cache/ebuild_xattr.py b/lib/portage/cache/ebuild_xattr.py |
16 |
index cc6b06246..33a40fdba 100644 |
17 |
--- a/lib/portage/cache/ebuild_xattr.py |
18 |
+++ b/lib/portage/cache/ebuild_xattr.py |
19 |
@@ -1,5 +1,5 @@ |
20 |
# -*- coding: utf-8 -*- |
21 |
-# Copyright: 2009-2011 Gentoo Foundation |
22 |
+# Copyright: 2009-2020 Gentoo Authors |
23 |
# Author(s): Petteri Räty (betelgeuse@g.o) |
24 |
# License: GPL2 |
25 |
|
26 |
@@ -14,8 +14,7 @@ from portage import cpv_getkey |
27 |
from portage import os |
28 |
from portage import _encodings |
29 |
from portage import _unicode_decode |
30 |
-portage.proxy.lazyimport.lazyimport(globals(), |
31 |
- 'xattr') |
32 |
+from portage.util._xattr import xattr |
33 |
|
34 |
class NoValueException(Exception): |
35 |
pass |