[Bug 1203359] Re: IArchiver.archive_message implementations return None

Barry Warsaw 1203359 at bugs.launchpad.net
Mon Apr 6 17:23:58 CEST 2015


While the built-in archivers do currently return None, it is possible
that more information can be provided about the archived message.
That's why the interface leaves it open to return the archive url if
available.

It's possible MHonArc could be made to do this; contributions welcome.

It's possible the prototype archiver could do this as well.  Happy to
take a contribution for this too.

For now, the interface is right, but the existing IArchiver
implementations should be explicit in their return of None.  We don't
want to rely on Python's implicit return of None.  I'll make that fix.

** Tags added: mailman3

** Changed in: mailman
    Milestone: None => 3.0.0b6

** Changed in: mailman
       Status: New => Fix Committed

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1203359

Title:
  IArchiver.archive_message implementations return None

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1203359/+subscriptions


More information about the Mailman-coders mailing list