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/Usenet.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/Usenet.py')
| -rw-r--r-- | Mailman/Gui/Usenet.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Mailman/Gui/Usenet.py b/Mailman/Gui/Usenet.py index 3f14c4fa5..f1554cc36 100644 --- a/Mailman/Gui/Usenet.py +++ b/Mailman/Gui/Usenet.py @@ -23,7 +23,9 @@ class Usenet: def GetConfigCategory(self): return 'gateway', _('Mail<->News gateways') - def GetConfigInfo(self, mlist): + def GetConfigInfo(self, mlist, category, subcat=None): + if category <> 'gateway': + return None WIDTH = mm_cfg.TEXTFIELDWIDTH return [ |
