-# Copyright: 2009-2010 Gentoo Foundation
+# Copyright: 2009-2011 Gentoo Foundation
# Author(s): Petteri Räty (betelgeuse@gentoo.org)
# License: GPL2
__all__ = ['database']
+import portage
from portage.cache import fs_template
from portage.versions import catsplit
from portage import cpv_getkey
from portage import os
from portage import _encodings
from portage import _unicode_decode
-import xattr
from errno import ENODATA,ENOSPC,E2BIG
+portage.proxy.lazyimport.lazyimport(globals(),
+ 'xattr')
class NoValueException(Exception):
pass
def testImportModules(self):
expected_failures = frozenset((
- "portage.cache.ebuild_xattr", #automagic dep on xattr
))
for mod in self._list_modules(PORTAGE_PYM_PATH):