diff options
Diffstat (limited to 'src/mailman_pgp/rest/config.py')
| -rw-r--r-- | src/mailman_pgp/rest/config.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/mailman_pgp/rest/config.py b/src/mailman_pgp/rest/config.py index 14a4953..b61e9a3 100644 --- a/src/mailman_pgp/rest/config.py +++ b/src/mailman_pgp/rest/config.py @@ -55,18 +55,3 @@ class AConfig: resource = {self._option: config.get(self._section, self._option)} okay(response, etag(resource)) - - def on_put(self, request, response): - if not config.get_value('rest', 'allow_write_config'): - forbidden(response) - return - if self._section is None: - # set whole config - pass - else: - if self._option is None: - # set section - pass - else: - # set value - pass |
