equal
deleted
inserted
replaced
39 if VMM.VirtualMailManager.aliasExists(self._dbh, self._addr): |
39 if VMM.VirtualMailManager.aliasExists(self._dbh, self._addr): |
40 raise AccE(_(u"There is already an alias with the address »%s«.") %\ |
40 raise AccE(_(u"There is already an alias with the address »%s«.") %\ |
41 self._addr, ERR.ALIAS_EXISTS) |
41 self._addr, ERR.ALIAS_EXISTS) |
42 if VMM.VirtualMailManager.relocatedExists(self._dbh, self._addr): |
42 if VMM.VirtualMailManager.relocatedExists(self._dbh, self._addr): |
43 raise AccE( |
43 raise AccE( |
44 _(u"There is already an relocated user with the address »%s«.") %\ |
44 _(u"There is already a relocated user with the address »%s«.") %\ |
45 self._addr, ERR.RELOCATED_EXISTS) |
45 self._addr, ERR.RELOCATED_EXISTS) |
46 |
46 |
47 def _exists(self): |
47 def _exists(self): |
48 dbc = self._dbh.cursor() |
48 dbc = self._dbh.cursor() |
49 dbc.execute("SELECT uid, mid, tid FROM users \ |
49 dbc.execute("SELECT uid, mid, tid FROM users \ |