summaryrefslogtreecommitdiff
path: root/Mailman/Gui/Digest.py
diff options
context:
space:
mode:
authorbwarsaw2001-10-15 21:58:45 +0000
committerbwarsaw2001-10-15 21:58:45 +0000
commitbb7f1d80d3ec85df102227334034e9610c560fa0 (patch)
treefb7970b95739b47d6f1fd1a9f9aab0a5dee464f3 /Mailman/Gui/Digest.py
parent04713934dfb9421502b77c093e4de626ad3444bc (diff)
downloadmailman-bb7f1d80d3ec85df102227334034e9610c560fa0.tar.gz
mailman-bb7f1d80d3ec85df102227334034e9610c560fa0.tar.zst
mailman-bb7f1d80d3ec85df102227334034e9610c560fa0.zip
GetConfigInfo(): Update to the new signature, accepting category and
subcat argument. If the category doesn't apply to this gui component, None is returned, otherwise the config list is returned.
Diffstat (limited to 'Mailman/Gui/Digest.py')
-rw-r--r--Mailman/Gui/Digest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Gui/Digest.py b/Mailman/Gui/Digest.py
index ec08bad1c..326f62f50 100644
--- a/Mailman/Gui/Digest.py
+++ b/Mailman/Gui/Digest.py
@@ -26,7 +26,9 @@ class Digest:
def GetConfigCategory(self):
return 'digest', _('Digest options')
- def GetConfigInfo(self, mlist):
+ def GetConfigInfo(self, mlist, category, subcat=None):
+ if category <> 'digest':
+ return None
WIDTH = mm_cfg.TEXTFIELDWIDTH
info = [