1 |
On Sun, 31 May 2015 13:53:50 -0700 |
2 |
Zac Medico <zmedico@g.o> wrote: |
3 |
|
4 |
> Since commit 1032cbf4c218741df1c57767fead2d00cc6321d9, with Python 2, |
5 |
> movefile imports portage.util.xattr instead of xattr. Fix it by |
6 |
> enabling absolute_import. |
7 |
> |
8 |
> Fixes: 1032cbf4c218 ("quickpkg: support FEATURES=xattr (bug 550006)") |
9 |
> X-Gentoo-Bug: 550886 |
10 |
> X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=550886 |
11 |
> --- |
12 |
> pym/portage/util/movefile.py | 2 +- |
13 |
> 1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
> |
15 |
> diff --git a/pym/portage/util/movefile.py |
16 |
> b/pym/portage/util/movefile.py index d00f624..1000569 100644 |
17 |
> --- a/pym/portage/util/movefile.py |
18 |
> +++ b/pym/portage/util/movefile.py |
19 |
> @@ -1,7 +1,7 @@ |
20 |
> # Copyright 2010-2013 Gentoo Foundation |
21 |
> # Distributed under the terms of the GNU General Public License v2 |
22 |
> |
23 |
> -from __future__ import unicode_literals |
24 |
> +from __future__ import absolute_import, unicode_literals |
25 |
> |
26 |
> __all__ = ['movefile'] |
27 |
> |
28 |
|
29 |
|
30 |
confirmation of approval... already pushed ;) |
31 |
-- |
32 |
Brian Dolbec <dolsen> |