equal
deleted
inserted
replaced
57 destination = dbc.fetchone() |
57 destination = dbc.fetchone() |
58 dbc.close() |
58 dbc.close() |
59 if destination: |
59 if destination: |
60 self._dest = EmailAddress(destination[0]) |
60 self._dest = EmailAddress(destination[0]) |
61 |
61 |
|
62 @property |
|
63 def address(self): |
|
64 """The Relocated's EmailAddress instance.""" |
|
65 return self._addr |
|
66 |
62 def set_destination(self, destination): |
67 def set_destination(self, destination): |
63 """Sets/updates the new address of the relocated user.""" |
68 """Sets/updates the new address of the relocated user.""" |
64 update = False |
69 update = False |
65 assert isinstance(destination, EmailAddress) |
70 assert isinstance(destination, EmailAddress) |
66 if self._addr == destination: |
71 if self._addr == destination: |