diff options
| author | Barry Warsaw | 2015-04-14 12:46:11 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-04-14 12:46:11 -0400 |
| commit | 2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd (patch) | |
| tree | 4ba9e86dd16b53c623410e66c459dc394008b698 /src/mailman/commands/eml_membership.py | |
| parent | 24c01dbd8e93acdc61884b3b9783a0e71fd6df23 (diff) | |
| download | mailman-2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd.tar.gz mailman-2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd.tar.zst mailman-2787473f0bd4ca3efeadb7f44c8f61c3695e7ecd.zip | |
Diffstat (limited to 'src/mailman/commands/eml_membership.py')
| -rw-r--r-- | src/mailman/commands/eml_membership.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mailman/commands/eml_membership.py b/src/mailman/commands/eml_membership.py index 059b9b634..b42116b74 100644 --- a/src/mailman/commands/eml_membership.py +++ b/src/mailman/commands/eml_membership.py @@ -86,8 +86,7 @@ used. if len(members) > 0: print(_('$person is already a member'), file=results) else: - getUtility(IRegistrar).register(mlist, address, - display_name, delivery_mode) + IRegistrar(mlist).register(address) print(_('Confirmation email sent to $person'), file=results) return ContinueProcessing.yes |
