diff options
author | 2009-11-26 21:02:30 +0000 | |
---|---|---|
committer | 2009-11-26 21:02:30 +0000 | |
commit | 8c38f206f44258bc6d0e30829a869fc474bdcb8f (patch) | |
tree | 8003b3f8dfe04a3d2caf8c869a4447000f187cdd /python | |
parent | c8ac388f675660cfd7fa697bac51c4927d84dbf3 (diff) | |
download | paludis-8c38f206f44258bc6d0e30829a869fc474bdcb8f.tar.gz paludis-8c38f206f44258bc6d0e30829a869fc474bdcb8f.tar.xz |
Kill mirrors interface
Diffstat (limited to 'python')
-rw-r--r-- | python/repository.cc | 21 | ||||
-rwxr-xr-x | python/repository_TEST.py | 4 |
2 files changed, 0 insertions, 25 deletions
diff --git a/python/repository.cc b/python/repository.cc index 661b238f1..0ca595e20 100644 --- a/python/repository.cc +++ b/python/repository.cc @@ -39,12 +39,6 @@ struct RepositoryWrapper : Repository, bp::wrapper<Repository> { - static RepositoryMirrorsInterface * - get_mirrors_interface(const Repository & self) - { - return self.mirrors_interface(); - } - static RepositoryEnvironmentVariableInterface * get_environment_variable_interface(const Repository & self) { @@ -192,11 +186,6 @@ void expose_repository() "[ro] RepositoryEnvironmentInterface" ) - .add_property("mirrors_interface", bp::make_function(&RepositoryWrapper::get_mirrors_interface, - bp::return_internal_reference<>()), - "[ro] RepositoryMirrorsInterface" - ) - .add_property("virtuals_interface", bp::make_function(&RepositoryWrapper::get_virtuals_interface, bp::return_internal_reference<>()), "[ro] RepositoryVirtualsInterface" @@ -248,16 +237,6 @@ void expose_repository() ); /** - * RepositoryMirrorsInterface - */ - bp::class_<RepositoryMirrorsInterface, boost::noncopyable> - ( - "RepositoryMirrorsInterface", - "Interface for mirror querying for repositories.", - bp::no_init - ); - - /** * RepositoryVirtualsInterface */ bp::class_<RepositoryVirtualsInterface, boost::noncopyable> diff --git a/python/repository_TEST.py b/python/repository_TEST.py index 52e44cf9b..35b64be22 100755 --- a/python/repository_TEST.py +++ b/python/repository_TEST.py @@ -111,10 +111,6 @@ class TestCase_02_RepositoryInterfaces(unittest.TestCase): evi = repo.environment_variable_interface self.assert_(isinstance(evi, RepositoryEnvironmentVariableInterface)) - def test_07_mirrors_interface(self): - mi = repo.mirrors_interface - self.assert_(isinstance(mi, RepositoryMirrorsInterface)) - def test_08_provides_interface(self): pi = irepo.provides_interface self.assert_(isinstance(pi, RepositoryProvidesInterface)) |