At file:///v/home/vila/.bazaar/plugins/email/
------------------------------------------------------------
revno: 37
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Vincent Ladeuil <[EMAIL PROTECTED]>
branch nick: email
timestamp: Thu 2008-09-25 12:19:27 +0200
message:
Long forgotten, approved, local patch fixing test suite failures
modified:
emailer.py emailer.py-20070123220937-ec5y2n2oeoa0p4ue-1
------------------------------------------------------------
revno: 33.1.2
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Vincent Ladeuil <[EMAIL PROTECTED]>
branch nick: email
timestamp: Wed 2008-05-21 10:39:45 +0200
message:
Fixed as per Robert's review.
* tests/testemail.py:
(TestGetTo.test_should_send): Revert previous changes.
* emailer.py:
(EmailSender.should_send): Return a boolean.
modified:
emailer.py
emailer.py-20070123220937-ec5y2n2oeoa0p4ue-1
tests/testemail.py
testpublish.py-20051018071212-e3a53d78c05e0e0a
------------------------------------------------------------
revno: 33.1.1
revision-id: [EMAIL PROTECTED]
parent: [EMAIL PROTECTED]
committer: Vincent Ladeuil <[EMAIL PROTECTED]>
branch nick: email
timestamp: Wed 2008-05-21 09:27:48 +0200
message:
should_send does not always return a boolean anymore.
* testemail.py:
Make the test suite pass again.
modified:
tests/testemail.py
testpublish.py-20051018071212-e3a53d78c05e0e0a
=== modified file 'emailer.py'
--- a/emailer.py 2008-06-05 17:40:57 +0000
+++ b/emailer.py 2008-09-25 10:19:27 +0000
@@ -230,7 +230,7 @@
self.diff_filename())
def should_send(self):
- return self.to() and self.from_address()
+ return bool(self.to() and self.from_address())
def send_maybe(self):
if self.should_send():
--
bazaar-commits mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/bazaar-commits