Changeset 24:dc78a59d357e in mailjam for mailjam/daemon.py


Ignore:
Timestamp:
May 22, 2012, 7:57:47 PM (12 years ago)
Author:
Borja Lopez <borja@…>
Branch:
default
Phase:
public
Message:

Added a new XMLRPC method to the mailjam server, lists.info(), which returns
detailed information about a given mailing lists, provided an address.

Added support listing and getting detailed information of mailing lists to
the CLI client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mailjam/daemon.py

    r23 r24  
    186186    def addresses(self):
    187187        return self.mailjam.mailings_addresses
     188    def info(self, address):
     189        if address not in self.mailjam.mailings_addresses:
     190            return 'Mailing list not found - ' + address
     191        return self.mailjam.mailings[address].info()
    188192
    189193
Note: See TracChangeset for help on using the changeset viewer.