Pavan Koli has proposed merging lp:~pskoli93/postorius/Changes into lp:postorius.
Requested reviews: Mailman Coders (mailman-coders) Related bugs: Bug #1437866 in Postorius: "AttributeError while adding another email address to your account" https://bugs.launchpad.net/postorius/+bug/1437866 For more details, see: https://code.launchpad.net/~pskoli93/postorius/Changes/+merge/254628 Made changes in models.py file. Made changes in part where, error was encountered on trying to setup an additional e-mail for the list manager on a localhost. -- Your team Mailman Coders is requested to review the proposed merge of lp:~pskoli93/postorius/Changes into lp:postorius.
=== modified file 'src/postorius/models.py' --- src/postorius/models.py 2015-02-09 14:35:44 +0000 +++ src/postorius/models.py 2015-03-30 18:51:09 +0000 @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright (C) 1998-2015 by the Free Software Foundation, Inc. +# Copyright (C) 1998-2014 by the Free Software Foundation, Inc. # # This file is part of Postorius. # @@ -291,5 +291,5 @@ settings, 'EMAIL_CONFIRMATION_SUBJECT', u'Confirmation needed') send_mail(email_subject, get_template(template_path).render(template_context), - getattr(settings, 'EMAIL_CONFIRMATION_FROM'), + getattr(settings, 'EMAIL_CONFIRMATION_FROM', self.mail), [self.email])
_______________________________________________ Mailman-coders mailing list Mailman-coders@python.org https://mail.python.org/mailman/listinfo/mailman-coders