VirtualMailManager/domain.py
branchv0.6.x
changeset 402 8984b1f4e6e3
parent 392 ffce67e3c6eb
child 404 0c52094447b0
--- a/VirtualMailManager/domain.py	Sat Feb 12 20:40:44 2011 +0000
+++ b/VirtualMailManager/domain.py	Sun Feb 13 03:32:31 2011 +0000
@@ -268,7 +268,7 @@
         """
         self._chk_state()
         assert isinstance(quotalimit, QuotaLimit)
-        if quotalimit == self._qlimit:
+        if not force and quotalimit == self._qlimit:
             return
         self._update_tables('qid', quotalimit.qid, force)
         self._qlimit = quotalimit
@@ -289,7 +289,7 @@
         """
         self._chk_state()
         assert isinstance(transport, Transport)
-        if transport == self._transport:
+        if not force and transport == self._transport:
             return
         self._update_tables('tid', transport.tid, force)
         self._transport = transport