diff options
| author | J08nY | 2017-08-17 17:22:11 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-17 17:22:11 +0200 |
| commit | d522c8fbe84334aa92d014a357bcaf0ed62e3077 (patch) | |
| tree | 91922c7a5620547552633be6032728e415b01d8d /src/mailman_pgp/rest/config.py | |
| parent | cc16622a79975a7e67eac98316ac032711f2add6 (diff) | |
| download | mailman-pgp-d522c8fbe84334aa92d014a357bcaf0ed62e3077.tar.gz mailman-pgp-d522c8fbe84334aa92d014a357bcaf0ed62e3077.tar.zst mailman-pgp-d522c8fbe84334aa92d014a357bcaf0ed62e3077.zip | |
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 |
