Fix get_provides() method
authorfuzzyray <fuzzyray@gentoo.org>
Tue, 2 Jan 2007 20:23:09 +0000 (20:23 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Tue, 2 Jan 2007 20:23:09 +0000 (20:23 -0000)
svn path=/; revision=331

trunk/src/gentoolkit/package.py

index 67719114a437a12411f7f158bc37187f65707c55..d583c8a51ed13689a46280aaaaa9842525aceeac 100644 (file)
@@ -54,9 +54,9 @@ class Package:
                """Returns full Category/Package-Version string"""
                return self._cpv
 
-       def get_provides(self):
+       def get_provide(self):
                """Return a list of provides, if any"""
-               return vartree.get_provides(self._cpv)
+               return vartree.get_provide(self._cpv)
 
        def get_dependants(self):
                """Retrieves a list of CPVs for all packages depending on this one"""