It appears that SMTPConnection wants a Stack object for its config argument. Following patch helps:
=== modified file 'bzr_hookless_email.py' --- bzr_hookless_email.py 2012-03-22 15:15:15 +0000 +++ bzr_hookless_email.py 2012-04-25 06:05:55 +0000 @@ -159,7 +159,7 @@ self._config = self._branch.get_config()
def update(self): - smtp = SMTPConnection(self._config) + smtp = SMTPConnection(self._branch.get_config_stack()) smtp_from = None for revision in self._revisions_to_send(): msg = self._compose_email(revision)
It appears that SMTPConnection wants a Stack object for its config argument. Following patch helps:
=== modified file 'bzr_hookless_ email.py' email.py 2012-03-22 15:15:15 +0000 email.py 2012-04-25 06:05:55 +0000
self. _config = self._branch. get_config( )
--- bzr_hookless_
+++ bzr_hookless_
@@ -159,7 +159,7 @@
def update(self): self._config) self._branch. get_config_ stack() ) _to_send( ): email(revision)
- smtp = SMTPConnection(
+ smtp = SMTPConnection(
smtp_from = None
for revision in self._revisions
msg = self._compose_