VirtualMailManager/relocated.py
branchv0.6.x
changeset 341 6709d0faf2f5
parent 322 94bd10e237e5
child 352 22d115376e4d
equal deleted inserted replaced
340:4515afec62e5 341:6709d0faf2f5
    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