aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-18 20:16:51 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-18 20:16:51 +0000
commita49d3cfd8e98328400f60a4b7f064021574f1a73 (patch)
tree60124bfc9851d11530d398f20bc5eee2893a9927 /python
parentd2eb3cd9f4b5e7fbf757e6101fe0d40a91d5f990 (diff)
downloadpaludis-a49d3cfd8e98328400f60a4b7f064021574f1a73.tar.gz
paludis-a49d3cfd8e98328400f60a4b7f064021574f1a73.tar.xz
Remove NoConfigEnvironment::set_accept_unstable
Diffstat (limited to 'python')
-rw-r--r--python/environment.cc5
-rwxr-xr-xpython/environment_TEST.py4
2 files changed, 0 insertions, 9 deletions
diff --git a/python/environment.cc b/python/environment.cc
index 5e5bd3c0a..1c2ed908a 100644
--- a/python/environment.cc
+++ b/python/environment.cc
@@ -707,11 +707,6 @@ void expose_environment()
"[ro] Repository\n"
"Master repository."
)
-
- .add_property("accept_unstable", bp::object(), &NoConfigEnvironment::set_accept_unstable,
- "[wo] bool\n"
- "Should we accept unstable keywords?"
- )
;
/**
diff --git a/python/environment_TEST.py b/python/environment_TEST.py
index 8b94905af..54086c889 100755
--- a/python/environment_TEST.py
+++ b/python/environment_TEST.py
@@ -70,10 +70,6 @@ class TestCase_01_Environments(unittest.TestCase):
self.assert_(isinstance(nce2.main_repository, Repository))
self.assert_(isinstance(nce2.master_repository, Repository))
- def test_11_set_accept_unstable(self):
- self.nce.accept_unstable = True
- self.assertRaises(AttributeError, lambda: self.nce.accept_unstable)
-
def test_12_config_dir(self):
self.assert_(isinstance(self.e.config_dir, str))