VMM/alias: Alias.del_destination() corrected the value assignment v0.6.x
authorPascal Volk <neverseen@users.sourceforge.net>
Sat, 03 Sep 2011 20:28:40 +0000
branchv0.6.x
changeset 425 8394e222aba3
parent 424 46c296c6e231
child 426 933b9debbec1
VMM/alias: Alias.del_destination() corrected the value assignment in the error message's dictionary.
VirtualMailManager/alias.py
--- a/VirtualMailManager/alias.py	Sat Sep 03 19:45:31 2011 +0000
+++ b/VirtualMailManager/alias.py	Sat Sep 03 20:28:40 2011 +0000
@@ -143,8 +143,8 @@
                        NO_SUCH_ALIAS)
         if not destination in self._dests:
             raise AErr(_(u"The address '%(addr)s' is not a destination of "
-                         u"the alias '%(alias)s'.") % {'addr': self._addr,
-                       'alias': destination}, NO_SUCH_ALIAS)
+                         u"the alias '%(alias)s'.") % {'addr': destination,
+                       'alias': self._addr}, NO_SUCH_ALIAS)
         self._delete(destination)
         self._dests.remove(destination)