diff options
| author | Barry Warsaw | 2009-12-12 17:03:30 -0500 |
|---|---|---|
| committer | Barry Warsaw | 2009-12-12 17:03:30 -0500 |
| commit | 725ebe36e2548c5da711087640bd423181411241 (patch) | |
| tree | 8aae553f5b05d3889511dcbce8dd92f3fa7c469e /src/mailman/commands/eml_confirm.py | |
| parent | 3c4c8f9c383b6e92e0a9a970079b296a4ac30e88 (diff) | |
| download | mailman-725ebe36e2548c5da711087640bd423181411241.tar.gz mailman-725ebe36e2548c5da711087640bd423181411241.tar.zst mailman-725ebe36e2548c5da711087640bd423181411241.zip | |
Diffstat (limited to 'src/mailman/commands/eml_confirm.py')
| -rw-r--r-- | src/mailman/commands/eml_confirm.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mailman/commands/eml_confirm.py b/src/mailman/commands/eml_confirm.py index 510033098..5232512b3 100644 --- a/src/mailman/commands/eml_confirm.py +++ b/src/mailman/commands/eml_confirm.py @@ -25,6 +25,7 @@ __all__ = [ ] +from zope.component import getUtility from zope.interface import implements from mailman.core.i18n import _ @@ -48,7 +49,7 @@ class Confirm: if len(arguments) == 0: print >> results, _('No confirmation token found') return ContinueProcessing.no - succeeded = IRegistrar(mlist.domain).confirm(arguments[0]) + succeeded = getUtility(IRegistrar).confirm(arguments[0]) if succeeded: print >> results, _('Confirmed') return ContinueProcessing.yes |
