# HG changeset patch # User Pascal Volk # Date 1315082525 0 # Node ID 933b9debbec10441e16e70a0c3304c68118d9f65 # Parent 8394e222aba3db8a0eb1440a413fad2d6d3b157f VMM/handler: Handler.alias_delete() also use class DestinationEmailAddress for the destination address, instead of class EmailAddress. diff -r 8394e222aba3 -r 933b9debbec1 VirtualMailManager/handler.py --- a/VirtualMailManager/handler.py Sat Sep 03 20:28:40 2011 +0000 +++ b/VirtualMailManager/handler.py Sat Sep 03 20:42:05 2011 +0000 @@ -642,7 +642,8 @@ if targetaddress is None: alias.delete() else: - alias.del_destination(EmailAddress(targetaddress)) + alias.del_destination(DestinationEmailAddress(targetaddress, + self._dbh)) def user_info(self, emailaddress, details=None): """Wrapper around Account.get_info(...)"""