diff -r 766299a8639d -r cb8b2f6a5fca VirtualMailManager/Domain.py --- a/VirtualMailManager/Domain.py Fri Aug 14 06:16:01 2009 +0000 +++ b/VirtualMailManager/Domain.py Fri Aug 14 06:40:55 2009 +0000 @@ -170,6 +170,8 @@ force -- True/False force new transport for all accounts (bool) """ if self._id > 0: + if transport == self._transport.getTransport(): + return trsp = Transport(self._dbh, transport=transport) dbc = self._dbh.cursor() dbc.execute("UPDATE domain_data SET tid = %s WHERE gid = %s",