diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-05-31 13:51:42 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-06-04 18:30:06 -0700 |
commit | c363731ecf59f74386001ba56ba0d7a73de7f2f4 (patch) | |
tree | ec62c8ff2b5d6df3d7a152bce130972f4e80a70b /pym/portage/util/movefile.py | |
parent | runtests: rewrite in python (diff) | |
download | portage-c363731ecf59f74386001ba56ba0d7a73de7f2f4.tar.gz portage-c363731ecf59f74386001ba56ba0d7a73de7f2f4.tar.bz2 portage-c363731ecf59f74386001ba56ba0d7a73de7f2f4.zip |
movefile: enable absolute_import for Python 2 (bug 550886)
Since commit 1032cbf4c218741df1c57767fead2d00cc6321d9, with Python 2,
movefile imports portage.util.xattr instead of xattr. Fix it by
enabling absolute_import.
Fixes: 1032cbf4c218 ("quickpkg: support FEATURES=xattr (bug 550006)")
X-Gentoo-Bug: 550886
X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=550886
Diffstat (limited to 'pym/portage/util/movefile.py')
-rw-r--r-- | pym/portage/util/movefile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/util/movefile.py b/pym/portage/util/movefile.py index d00f6241a..10005699a 100644 --- a/pym/portage/util/movefile.py +++ b/pym/portage/util/movefile.py @@ -1,7 +1,7 @@ # Copyright 2010-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -from __future__ import unicode_literals +from __future__ import absolute_import, unicode_literals __all__ = ['movefile'] |