aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/package_id.cc5
-rwxr-xr-xpython/package_id_TEST.py4
2 files changed, 0 insertions, 9 deletions
diff --git a/python/package_id.cc b/python/package_id.cc
index d673775c4..4325d14b0 100644
--- a/python/package_id.cc
+++ b/python/package_id.cc
@@ -113,11 +113,6 @@ void expose_package_id()
"to determine whether a package is unused."
)
- .def("provide_key", &PackageID::provide_key,
- "The provide_key, if not None, indicates that a package provides\n"
- "certain old-style virtuals. This affects dependency resolution."
- )
-
.def("contains_key", &PackageID::contains_key,
"The contains_key, if not None, indicates that a package contains\n"
"other packages. This affects dependency resolution."
diff --git a/python/package_id_TEST.py b/python/package_id_TEST.py
index 620f78d8b..49644262e 100755
--- a/python/package_id_TEST.py
+++ b/python/package_id_TEST.py
@@ -104,10 +104,6 @@ class TestCase_01_PackageID(unittest.TestCase):
mask = iter(self.mpid.masks).next()
self.assert_(isinstance(mask, UnacceptedMask))
- def test_15_provide_key(self):
- self.assert_(isinstance(self.pid.provide_key(), MetadataProvideSpecTreeKey))
- self.assertEquals(self.ipid.provide_key(), None)
-
def test_16_contains_key(self):
self.assertEquals(self.pid.contains_key(), None)
self.assertEquals(self.ipid.contains_key(), None)