------------------------------------------------------------
revno: 22
committer: Florian Fuchs <[email protected]>
branch nick: mailman.client
timestamp: Mon 2011-11-14 15:07:48 +0100
message:
fixed issue in get_domain method: return None if domain cannot be found, not
an empty list.
modified:
mailman/client/_client.py
--
lp:mailman.client
https://code.launchpad.net/~mailman-coders/mailman.client/trunk
Your team Mailman Coders is subscribed to branch lp:mailman.client.
To unsubscribe from this branch go to
https://code.launchpad.net/~mailman-coders/mailman.client/trunk/+edit-subscription
=== modified file 'mailman/client/_client.py'
--- mailman/client/_client.py 2011-10-31 22:42:40 +0000
+++ mailman/client/_client.py 2011-11-14 14:07:48 +0000
@@ -205,7 +205,9 @@
# in Mailman3Alpha8
if domain.base_url == web_host:
return domain
- return []
+ break
+ else:
+ return None
def get_user(self, address):
response, content = self._connection.call(
_______________________________________________
Mailman-coders mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-coders