aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-12 00:32:25 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-06-12 00:32:25 +0100
commit59196401ac1166947914bfef013045335e3355ae (patch)
tree5b8d0ad055e1e27a8ac64ab7828a76178a543f51 /python
parent619b3fb210b172bb0405b02ad341cb570bff1184 (diff)
downloadpaludis-59196401ac1166947914bfef013045335e3355ae.tar.gz
paludis-59196401ac1166947914bfef013045335e3355ae.tar.xz
Remove contains and contained_in keys
Diffstat (limited to 'python')
-rw-r--r--python/package_id.cc10
-rwxr-xr-xpython/package_id_TEST.py8
2 files changed, 0 insertions, 18 deletions
diff --git a/python/package_id.cc b/python/package_id.cc
index 4325d14b0..384f9242b 100644
--- a/python/package_id.cc
+++ b/python/package_id.cc
@@ -113,16 +113,6 @@ void expose_package_id()
"to determine whether a package is unused."
)
- .def("contains_key", &PackageID::contains_key,
- "The contains_key, if not None, indicates that a package contains\n"
- "other packages. This affects dependency resolution."
- )
-
- .def("contained_in_key", &PackageID::contained_in_key,
- "The contained_in_key, if not None, indicates that a package is\n"
- "contained in another package. This affects dependency resolution."
- )
-
.def("build_dependencies_key", &PackageID::build_dependencies_key,
"The build_dependencies_key, if not None, indicates a package's\n"
"build-time dependencies."
diff --git a/python/package_id_TEST.py b/python/package_id_TEST.py
index 49644262e..51c6cf9ff 100755
--- a/python/package_id_TEST.py
+++ b/python/package_id_TEST.py
@@ -104,14 +104,6 @@ class TestCase_01_PackageID(unittest.TestCase):
mask = iter(self.mpid.masks).next()
self.assert_(isinstance(mask, UnacceptedMask))
- def test_16_contains_key(self):
- self.assertEquals(self.pid.contains_key(), None)
- self.assertEquals(self.ipid.contains_key(), None)
-
- def test_17_contained_in_key(self):
- self.assertEquals(self.pid.contained_in_key(), None)
- self.assertEquals(self.ipid.contained_in_key(), None)
-
def test_18_build_dependencies_key(self):
self.assert_(isinstance(self.pid.build_dependencies_key(), MetadataDependencySpecTreeKey))
self.assertEquals(self.ipid.build_dependencies_key(), None)