VirtualMailManager/Relocated.py
branchv0.6.x
changeset 250 73cd082cd724
parent 249 bb7d9906c529
child 290 e2785e04f92e
equal deleted inserted replaced
249:bb7d9906c529 250:73cd082cd724
    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: