Exemplo n.º 1
0
Arquivo: bind.py Projeto: ehelms/pulp
 def clean(self):
     """
     Clean up artifacts associated with the handler.
     @return: A clean report.
     @rtype: L{CleanReport}
     """
     log.info('clean')
     report = CleanReport()
     # TODO: revist this **
     report.succeeded()
     return report
Exemplo n.º 2
0
 def clean(self, conduit):
     """
     Clean up artifacts associated with the handler.
     @param conduit: A handler conduit.
     @type conduit: L{pulp.agent.lib.conduit.Conduit}
     @return: A clean report.
     @rtype: L{CleanReport}
     """
     log.info("clean")
     report = CleanReport()
     # TODO: revist this **
     report.set_succeeded()
     return report
Exemplo n.º 3
0
    def clean(conduit):
        """
        Clean up. This is a no-op since the consumer does not need
        to keep any state with regard to bindings.

        :param  conduit: A handler conduit.
        :type   conduit: pulp.agent.lib.conduit.Conduit

        :return:    A clean report.
        :rtype:     CleanReport
        """
        report = CleanReport()
        report.set_succeeded()
        return report
Exemplo n.º 4
0
 def clean(self, conduit):
     """
     Clean up artifacts associated with the handler.
     @param conduit: A handler conduit.
     @type conduit: L{pulp.agent.lib.conduit.Conduit}
     @return: A clean report.
     @rtype: L{CleanReport}
     """
     log.info('clean')
     report = CleanReport()
     cfg = conduit.get_consumer_config().graph()
     repolib.delete_repo_file(cfg.filesystem.repo_file)
     report.set_succeeded()
     return report
Exemplo n.º 5
0
    def clean(conduit):
        """
        Clean up. This is a no-op since the consumer does not need
        to keep any state with regard to bindings.

        :param  conduit: A handler conduit.
        :type   conduit: pulp.agent.lib.conduit.Conduit

        :return:    A clean report.
        :rtype:     CleanReport
        """
        report = CleanReport()
        report.set_succeeded()
        return report
Exemplo n.º 6
0
 def clean(self, conduit):
     """
     Clean up artifacts associated with the handler.
     @param conduit: A handler conduit.
     @type conduit: L{pulp.agent.lib.conduit.Conduit}
     @return: A clean report.
     @rtype: L{CleanReport}
     """
     log.info('clean')
     report = CleanReport()
     cfg = conduit.get_consumer_config().graph()
     repolib.delete_repo_file(cfg.filesystem.repo_file)
     report.set_succeeded()
     return report