equal
  deleted
  inserted
  replaced
  
    
    
    37         self._dbh = dbh  | 
    37         self._dbh = dbh  | 
    38         self._gid = 0  | 
    38         self._gid = 0  | 
    39         self._isNew = False  | 
    39         self._isNew = False  | 
    40         self._setAddr()  | 
    40         self._setAddr()  | 
    41         self._exists()  | 
    41         self._exists()  | 
    42         if VMM.VirtualMailManager.accountExists(self._dbh, self._addr):  | 
    42         if self._isNew and VMM.VirtualMailManager.accountExists(self._dbh,  | 
         | 
    43                 self._addr):  | 
    43             raise VMMRE(_(u"There is already an account with address »%s«.") %\  | 
    44             raise VMMRE(_(u"There is already an account with address »%s«.") %\  | 
    44                     self._addr, ERR.ACCOUNT_EXISTS)  | 
    45                     self._addr, ERR.ACCOUNT_EXISTS)  | 
    45         if VMM.VirtualMailManager.aliasExists(self._dbh, self._addr):  | 
    46         if self._isNew and VMM.VirtualMailManager.aliasExists(self._dbh,  | 
         | 
    47                 self._addr):  | 
    46             raise VMMRE(  | 
    48             raise VMMRE(  | 
    47                     _(u"There is already an alias with the address »%s«.") %\  | 
    49                     _(u"There is already an alias with the address »%s«.") %\  | 
    48                     self._addr, ERR.ALIAS_EXISTS)  | 
    50                     self._addr, ERR.ALIAS_EXISTS)  | 
    49   | 
    51   | 
    50     def _exists(self):  | 
    52     def _exists(self):  |