summaryrefslogtreecommitdiff
path: root/Mailman/Gui/NonDigest.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/NonDigest.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/NonDigest.py')
-rw-r--r--Mailman/Gui/NonDigest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Gui/NonDigest.py b/Mailman/Gui/NonDigest.py
index afe9f4b52..f25e3f9e4 100644
--- a/Mailman/Gui/NonDigest.py
+++ b/Mailman/Gui/NonDigest.py
@@ -27,7 +27,9 @@ class NonDigest:
def GetConfigCategory(self):
return 'nondigest', _('Non-digest options')
- def GetConfigInfo(self, mlist):
+ def GetConfigInfo(self, mlist, category, subcat=None):
+ if category <> 'nondigest':
+ return None
WIDTH = mm_cfg.TEXTFIELDWIDTH
info = [