diff options
author | Victor Shyba <victor.shyba@gmail.com> | 2015-07-11 02:30:44 +0200 |
---|---|---|
committer | Folker Bernitt <fbernitt@thoughtworks.com> | 2015-08-11 17:00:21 +0200 |
commit | 143092359e6543a16c40be76131c10b68c2d51bc (patch) | |
tree | ca8ff62835cdb2ac78156b74d7a41e071c175a63 /service/pixelated/resources | |
parent | 10d1f5203517ae33535c6cdb8c2e0fe7cebebea8 (diff) |
trying out a new migration
Diffstat (limited to 'service/pixelated/resources')
-rw-r--r-- | service/pixelated/resources/mails_resource.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/service/pixelated/resources/mails_resource.py b/service/pixelated/resources/mails_resource.py index c4b578ba..cddaa0ec 100644 --- a/service/pixelated/resources/mails_resource.py +++ b/service/pixelated/resources/mails_resource.py @@ -6,7 +6,7 @@ from twisted.web.resource import Resource from twisted.web import server from leap.common.events import ( register, - events_pb2 as proto + catalog as events ) @@ -75,7 +75,7 @@ class MailsResource(Resource): delivery_error_mail = InputMail.delivery_error_template(delivery_address=event.content) self._mail_service.mailboxes.inbox.add(delivery_error_mail) - register(signal=proto.SMTP_SEND_MESSAGE_ERROR, callback=on_error) + register(events.SMTP_SEND_MESSAGE_ERROR, callback=on_error) def __init__(self, mail_service, draft_service): Resource.__init__(self) |