# HG changeset patch # User martin f. krafft # Date 1334008212 -7200 # Node ID 18870919ec484c46749b1c2decf196f6ea30b249 # Parent 2aae58cddfa90a0babb4aca6697de0d58b1ef5ef Fixup catchall_info to return iterator, not self diff -r 2aae58cddfa9 -r 18870919ec48 VirtualMailManager/handler.py --- a/VirtualMailManager/handler.py Mon Apr 09 23:44:36 2012 +0200 +++ b/VirtualMailManager/handler.py Mon Apr 09 23:50:12 2012 +0200 @@ -697,7 +697,7 @@ def catchall_info(self, domain): """Returns an iterator object for all destinations (`EmailAddress` instances) for the `CatchallAlias` with the given *domain*.""" - return self._get_catchall(domain) + return self._get_catchall(domain).get_destinations() def catchall_delete(self, domain, targetaddress=None): """Deletes the `CatchallAlias` for domain *domain* with all its