Avoid name collision with dep_expand submodule so epydoc won't crash.
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 21:01:41 +0000 (21:01 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 21:01:41 +0000 (21:01 -0000)
(trunk r15465)

svn path=/main/branches/2.1.7/; revision=15674

pym/portage/dbapi/__init__.py

index dcd933f623b78ce2054a691c18eda6961e0ff676..54d3877b272d2b7cda3dee82994d86f7486041f7 100644 (file)
@@ -8,7 +8,7 @@ import re
 
 import portage
 portage.proxy.lazyimport.lazyimport(globals(),
-       'portage.dbapi.dep_expand:dep_expand',
+       'portage.dbapi.dep_expand:_dep_expand',
        'portage.dep:match_from_list',
        'portage.locks:unlockfile',
        'portage.output:colorize',
@@ -122,7 +122,7 @@ class dbapi(object):
                Returns:
                        a list of packages that match origdep
                """
-               mydep = dep_expand(origdep, mydb=self, settings=self.settings)
+               mydep = _dep_expand(origdep, mydb=self, settings=self.settings)
                return list(self._iter_match(mydep,
                        self.cp_list(mydep.cp, use_cache=use_cache)))