示例#1
0
文件: bind.py 项目: 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
示例#2
0
文件: bind.py 项目: ehelms/pulp_rpm
 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
示例#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
示例#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
示例#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
示例#6
0
文件: bind.py 项目: asmacdo/pulp_rpm
 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