diff options
| author | Barry Warsaw | 2015-03-28 16:00:24 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2015-03-28 16:00:24 -0400 |
| commit | f3d34e989155cbe82e0c2db3fc9659ff73001dbe (patch) | |
| tree | 84fbfcb019406f7bc6c5fbe63572161f1a0213da /src | |
| parent | b2c2507402f0578e86bc37bac0711979270e8821 (diff) | |
| download | mailman-f3d34e989155cbe82e0c2db3fc9659ff73001dbe.tar.gz mailman-f3d34e989155cbe82e0c2db3fc9659ff73001dbe.tar.zst mailman-f3d34e989155cbe82e0c2db3fc9659ff73001dbe.zip | |
Diffstat (limited to 'src')
| -rw-r--r-- | src/mailman/app/registrar.py | 6 | ||||
| -rw-r--r-- | src/mailman/model/docs/registration.rst | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mailman/app/registrar.py b/src/mailman/app/registrar.py index 252a7eb9b..2544e233c 100644 --- a/src/mailman/app/registrar.py +++ b/src/mailman/app/registrar.py @@ -15,7 +15,7 @@ # You should have received a copy of the GNU General Public License along with # GNU Mailman. If not, see <http://www.gnu.org/licenses/>. -"""Implementation of the IUserRegistrar interface.""" +"""Implementation of the IRegistrar interface.""" __all__ = [ 'Registrar', @@ -55,7 +55,7 @@ class Registrar: """Handle registrations and confirmations for subscriptions.""" def register(self, mlist, email, display_name=None, delivery_mode=None): - """See `IUserRegistrar`.""" + """See `IRegistrar`.""" if delivery_mode is None: delivery_mode = DeliveryMode.regular # First, do validation on the email address. If the address is @@ -76,7 +76,7 @@ class Registrar: return token def confirm(self, token): - """See `IUserRegistrar`.""" + """See `IRegistrar`.""" # For convenience pendable = getUtility(IPendings).confirm(token) if pendable is None: diff --git a/src/mailman/model/docs/registration.rst b/src/mailman/model/docs/registration.rst index 55e99f23a..47f9f951d 100644 --- a/src/mailman/model/docs/registration.rst +++ b/src/mailman/model/docs/registration.rst @@ -290,9 +290,9 @@ confirm method will just return False. >>> registrar.confirm(bytes(b'no token')) False -Likewise, if you try to confirm, through the `IUserRegistrar` interface, a -token that doesn't match a registration event, you will get ``None``. -However, the pending event matched with that token will still be removed. +Likewise, if you try to confirm, through the `IRegistrar` interface, a token +that doesn't match a registration event, you will get ``None``. However, the +pending event matched with that token will still be removed. :: >>> from mailman.interfaces.pending import IPendable |
