equal
deleted
inserted
replaced
130 """Raise an AccountError if the Account is new - not yet saved in the |
130 """Raise an AccountError if the Account is new - not yet saved in the |
131 database.""" |
131 database.""" |
132 if self._new: |
132 if self._new: |
133 raise AErr(_(u"The account '%s' doesn't exist.") % self._addr, |
133 raise AErr(_(u"The account '%s' doesn't exist.") % self._addr, |
134 NO_SUCH_ACCOUNT) |
134 NO_SUCH_ACCOUNT) |
|
135 |
|
136 @property |
|
137 def address(self): |
|
138 """The Account's EmailAddress instance.""" |
|
139 return self._addr |
135 |
140 |
136 @property |
141 @property |
137 def domain_directory(self): |
142 def domain_directory(self): |
138 """The directory of the domain the Account belongs to.""" |
143 """The directory of the domain the Account belongs to.""" |
139 return self._domain.directory |
144 return self._domain.directory |