diff options
| author | bwarsaw | 2001-10-15 21:58:45 +0000 |
|---|---|---|
| committer | bwarsaw | 2001-10-15 21:58:45 +0000 |
| commit | bb7f1d80d3ec85df102227334034e9610c560fa0 (patch) | |
| tree | fb7970b95739b47d6f1fd1a9f9aab0a5dee464f3 /Mailman/Gui/Autoresponse.py | |
| parent | 04713934dfb9421502b77c093e4de626ad3444bc (diff) | |
| download | mailman-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/Autoresponse.py')
| -rw-r--r-- | Mailman/Gui/Autoresponse.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Gui/Autoresponse.py b/Mailman/Gui/Autoresponse.py index ff2e8397a..86909fca9 100644 --- a/Mailman/Gui/Autoresponse.py +++ b/Mailman/Gui/Autoresponse.py @@ -25,7 +25,9 @@ class Autoresponse: def GetConfigCategory(self): return 'autoreply', _('Auto-responder') - def GetConfigInfo(self, mlist): + def GetConfigInfo(self, mlist, category, subcat=None): + if category <> 'autoreply': + return None WIDTH = mm_cfg.TEXTFIELDWIDTH return [ |
