diff options
| author | J08nY | 2017-08-01 01:00:34 +0200 |
|---|---|---|
| committer | J08nY | 2017-08-01 01:00:34 +0200 |
| commit | 8d4fdb5017bdeee344d9908ddc98b51ae3b7c79b (patch) | |
| tree | a5d61f909810688d32fda0ba10ce422eccbb5be5 /src/mailman_pgp/model/list.py | |
| parent | 8c3ac4d693cfa6138a02bf2d58b98ff62fe4f234 (diff) | |
| parent | 89e7005f70a7feda03f15cbe39bf866a6f5bd059 (diff) | |
| download | mailman-pgp-8d4fdb5017bdeee344d9908ddc98b51ae3b7c79b.tar.gz mailman-pgp-8d4fdb5017bdeee344d9908ddc98b51ae3b7c79b.tar.zst mailman-pgp-8d4fdb5017bdeee344d9908ddc98b51ae3b7c79b.zip | |
Diffstat (limited to 'src/mailman_pgp/model/list.py')
| -rw-r--r-- | src/mailman_pgp/model/list.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman_pgp/model/list.py b/src/mailman_pgp/model/list.py index 946af34..d80f4a7 100644 --- a/src/mailman_pgp/model/list.py +++ b/src/mailman_pgp/model/list.py @@ -16,7 +16,6 @@ # this program. If not, see <http://www.gnu.org/licenses/>. """Model for PGP enabled mailing lists.""" -from lazr.config import as_boolean from mailman.database.types import Enum, SAUnicode from mailman.interfaces.action import Action from mailman.interfaces.listmanager import (IListManager, ListDeletingEvent) @@ -145,7 +144,7 @@ class PGPMailingList(Base): @classhandler.handler(ListDeletingEvent) def on_delete(event): - shred = as_boolean(config.get('keypairs', 'shred')) + shred = config.get_value('keypairs', 'shred') pgp_list = PGPMailingList.for_list(event.mailing_list) if pgp_list: with transaction() as session: |
