dataflake.org

Home Documentation Software Old Stuff

MaildropHost __init__ requires id parameter (Resolved)

Request MaildropHost -- bug report -- by Radim Novotny
Posted on Jan 17, 2008 5:16 am
Subscribe

Enter your email address to receive mail on every change to this issue.

Entries (Latest first)


  Resolve by Jens Vagelpohl on Jan 17, 2008 5:26 am
  Sure, I added the change to SVN.

I'd gladly accept patches that contain GenericSetup profiles/code for MaildropHost, by the way.
 

  Initial Request by Radim Novotny on Jan 17, 2008 5:16 am
  __init__ of MaildropHost class requires id parameter.
def __init__(self, id, title='Maildrop Host'):

This breaks initialization of class using GenericSetup 1.3.3, because GS initializes the class using tool_class() call.
The most recent GS version fixes this, but it would be nice fix it in MaidropHost too :)
The proposed change is only:

def __init__(self, id='', title='Maildrop Host'):

Original MailHost uses id='' too.