def cleanup(self): """ Client specific cleanup, irrespective of host or execution. The default calls any required cleanup on the sources. """ client.cleanup(self)
def cleanup(self): """ Client specific cleanup, irrespective of host or execution. The default calls any required cleanup on the sources. """ # # TODO: Implement this if needed, be symmetrical with prepare(...) # client.cleanup(self)
def cleanup(self): """ Client specific cleanup, irrespective of host or execution. The default calls any required cleanup on the sources. """ client.cleanup(self) try: self.tempUpdatedFiles__lock.acquire() for tmpFile in self.tempUpdatedFiles: os.remove( tmpFile ) self.tempUpdatedFiles = [] finally: self.tempUpdatedFiles__lock.release()