VirtualMailManager/account.py
branchv0.7.x
changeset 691 932cd76bf879
parent 676 2bc11dada296
child 694 b1bfd4d1d9c0
equal deleted inserted replaced
690:06c0acf6c45d 691:932cd76bf879
   290         Arguments:
   290         Arguments:
   291 
   291 
   292         `quotalimit` : VirtualMailManager.quotalimit.QuotaLimit
   292         `quotalimit` : VirtualMailManager.quotalimit.QuotaLimit
   293           the new quota limit of the domain.
   293           the new quota limit of the domain.
   294         """
   294         """
   295         if cfg_dget('misc.dovecot_version') < 0x10102f00:
       
   296             raise VMMError(_('PostgreSQL-based dictionary quota requires '
       
   297                              'Dovecot >= v1.1.2.'), VMM_ERROR)
       
   298         self._chk_state()
   295         self._chk_state()
   299         if quotalimit == self._qlimit:
   296         if quotalimit == self._qlimit:
   300             return
   297             return
   301         self._qlimit = quotalimit
   298         self._qlimit = quotalimit
   302         if quotalimit is not None:
   299         if quotalimit is not None: