--- a/VirtualMailManager/handler.py Thu Jun 14 20:45:12 2012 +0000
+++ b/VirtualMailManager/handler.py Wed Jun 27 12:18:53 2012 +0000
@@ -832,8 +832,10 @@
if not acc:
raise VMMError(_(u"The account '%s' does not exist.") %
acc.address, NO_SUCH_ACCOUNT)
- transport = None if transport == 'default' \
- else Transport(self._dbh, transport=transport)
+ if transport == 'default':
+ transport = None
+ else:
+ transport = Transport(self._dbh, transport=transport)
acc.update_transport(transport)
def user_services(self, emailaddress, *services):