summaryrefslogtreecommitdiffstats
path: root/pym/portage/glsa.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-02-22 01:49:55 +0000
committerZac Medico <zmedico@gentoo.org>2010-02-22 01:49:55 +0000
commit4808904f25235d931df6ed4b9093d1ad9395bb6a (patch)
treee3734df1abe681e45e533d8c16b4776a59e371eb /pym/portage/glsa.py
parenta85d10088212250a74b2ff1c2b083897d4b3623c (diff)
downloadportage-4808904f25235d931df6ed4b9093d1ad9395bb6a.tar.gz
portage-4808904f25235d931df6ed4b9093d1ad9395bb6a.tar.bz2
portage-4808904f25235d931df6ed4b9093d1ad9395bb6a.zip
Don't import the portage.dbapi.dbapi class as portage.dbapi anymore, since
it results in a strange namespace collision (portage.dbapi is both a class and a module). Hopefully this won't break any api consumers since it's a pure virtual class anyway. svn path=/main/trunk/; revision=15420
Diffstat (limited to 'pym/portage/glsa.py')
-rw-r--r--pym/portage/glsa.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/portage/glsa.py b/pym/portage/glsa.py
index 98602e4cc..38b07ad32 100644
--- a/pym/portage/glsa.py
+++ b/pym/portage/glsa.py
@@ -268,12 +268,12 @@ def makeVersion(versionNode):
def match(atom, dbapi, match_type="default"):
"""
- wrapper that calls revisionMatch() or portage.dbapi.match() depending on
+ wrapper that calls revisionMatch() or portage.dbapi.dbapi.match() depending on
the given atom.
@type atom: string
@param atom: a <~ or >~ atom or a normal portage atom that contains the atom to match against
- @type dbapi: portage.dbapi
+ @type dbapi: portage.dbapi.dbapi
@param dbapi: one of the portage databases to use as information source
@type match_type: string
@param match_type: if != "default" passed as first argument to dbapi.xmatch
@@ -297,7 +297,7 @@ def revisionMatch(revisionAtom, dbapi, match_type="default"):
@type revisionAtom: string
@param revisionAtom: a <~ or >~ atom that contains the atom to match against
- @type dbapi: portage.dbapi
+ @type dbapi: portage.dbapi.dbapi
@param dbapi: one of the portage databases to use as information source
@type match_type: string
@param match_type: if != "default" passed as first argument to portdb.xmatch