def update_from(self, other): super(ChoreographyClient, self).update_from(other) if self.lease_wallet: add_lease_wallet_processors(self, self.lease_wallet) # Grab a timesync endpoint if it is available. try: self._timesync_endpoint = other.time_sync.endpoint except AttributeError: pass # other doesn't have a time_sync accessor
def update_from(self, other): super(DockingClient, self).update_from(other) if self.lease_wallet: lease.add_lease_wallet_processors(self, self.lease_wallet)