path: root/wallace/
diff options
authorLiutauras Adomaitis <>2018-06-04 16:44:03 +0300
committerLiutauras Adomaitis <>2018-06-15 14:06:12 +0300
commit5ec8788dd436b342f160ad3dfcca634e68e65112 (patch)
tree5922210d7c6dda9675802dce616e7a48bd0bac25 /wallace/
parent46f61ab9984e23332477d39edbf303291e04d2ca (diff)
nother attempt to add more logging and fix wallace messages not being delivered and staying in spool directory
Summary: Adding more logs that should show why _sendmail function does not start a "while" delivery loop and unliking file does not happen. Also some code polishing. Test Plan: none Reviewers: machniak, vanmeeuwen Reviewed By: machniak Subscribers: petersen Differential Revision:
Diffstat (limited to 'wallace/')
1 files changed, 2 insertions, 1 deletions
diff --git a/wallace/ b/wallace/
index f5f8382..962e11a 100644
--- a/wallace/
+++ b/wallace/
@@ -1355,7 +1355,8 @@ def send_owner_notification(resource, owner, itip_event, success=True):
resource['cn'], participant_status_label(status) if success else _('failed')
- modules._sendmail(resource['mail'], owner['mail'], msg.as_string())
+ result = modules._sendmail(resource['mail'], owner['mail'], msg.as_string())
+ log.debug(_("Owner notification was sent successfully: %r") % result, level=8)
def owner_notification_text(resource, owner, event, success):
organizer = event.get_organizer()