equal
deleted
inserted
replaced
33 assert isinstance(address, EmailAddress) |
33 assert isinstance(address, EmailAddress) |
34 self._addr = address |
34 self._addr = address |
35 self._dbh = dbh |
35 self._dbh = dbh |
36 self._gid = get_gid(self._dbh, self._addr.domainname) |
36 self._gid = get_gid(self._dbh, self._addr.domainname) |
37 if not self._gid: |
37 if not self._gid: |
38 raise RErr(_(u"The domain %r doesn't exist.") % |
38 raise RErr(_(u"The domain '%s' doesn't exist.") % |
39 self._addr.domainname, NO_SUCH_DOMAIN) |
39 self._addr.domainname, NO_SUCH_DOMAIN) |
40 self._dest = None |
40 self._dest = None |
41 |
41 |
42 self._load() |
42 self._load() |
43 |
43 |