equal
deleted
inserted
replaced
31 self._gid = 0 |
31 self._gid = 0 |
32 self._isNew = False |
32 self._isNew = False |
33 self._setAddr() |
33 self._setAddr() |
34 if not self._dest is None: |
34 if not self._dest is None: |
35 self._exists() |
35 self._exists() |
36 if self._isNew and VMM.VirtualMailManager.accountExists(self._dbh, |
36 if VMM.VirtualMailManager.accountExists(self._dbh, |
37 self._addr): |
37 self._addr): |
38 raise VMMAE(_(u"There is already an account with address “%s”.") %\ |
38 raise VMMAE(_(u"There is already an account with address “%s”.") %\ |
39 self._addr, ERR.ACCOUNT_EXISTS) |
39 self._addr, ERR.ACCOUNT_EXISTS) |
40 if self._isNew and VMM.VirtualMailManager.relocatedExists(self._dbh, |
40 if VMM.VirtualMailManager.relocatedExists(self._dbh, |
41 self._addr): |
41 self._addr): |
42 raise VMMAE( |
42 raise VMMAE( |
43 _(u"There is already a relocated user with the address “%s”.") %\ |
43 _(u"There is already a relocated user with the address “%s”.") %\ |
44 self._addr, ERR.RELOCATED_EXISTS) |
44 self._addr, ERR.RELOCATED_EXISTS) |
45 |
45 |