Пример #1
0
    def cleanup(self):
        """
        Client specific cleanup, irrespective of host or execution.

        The default calls any required cleanup on the sources.
        """
        client.cleanup(self)
Пример #2
0
    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)
Пример #3
0
    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()