def _cleanup_resourceprovider(self):
        """
        Calls cleanup for ResourceProvider of this run.

        :return: Nothing
        """
        # Disable too broad exception warning
        # pylint: disable=W0703
        self.resourceprovider = ResourceProvider(self.args)
        try:
            self.resourceprovider.cleanup()
            self.logger.info("Cleanup done.")
        except Exception as error:
            self.logger.error("Cleanup failed! %s", error)
def _cleanup_resourceprovider ( self ) : self . resourceprovider = ResourceProvider ( self . args ) try : self . resourceprovider . cleanup ( ) self . logger . info ( "Cleanup done." ) except Exception as error : self . logger . error ( "Cleanup failed! %s" , error )
Calls cleanup for ResourceProvider of this run.

        :return: Nothing