Exemplo n.º 1
0
 def __solveDep_with_limits(self, system_id, deps, action, clientVersion, all=0, limit_operator=None, limit=None):
     """ Response for clients:
             version 1: list
             version 2: hash
     """
     log_debug(5, system_id, deps, action, clientVersion)
     result = self.__solveDep_prepare(system_id, deps, action, clientVersion)
     if result:
         # Solve dependencies
         result = rhnDependency.solve_dependencies_with_limits(self.server_id,
                                                               deps, clientVersion, all, limit_operator, limit)
     return result
Exemplo n.º 2
0
 def __solveDep_with_limits(self, system_id, deps, action, clientVersion, all=0, limit_operator=None, limit=None):
     """ Response for clients:
             version 1: list
             version 2: hash
     """
     log_debug(5, system_id, deps, action, clientVersion)
     result = self.__solveDep_prepare(system_id, deps, action, clientVersion)
     if result:
         # Solve dependencies
         result = rhnDependency.solve_dependencies_with_limits(self.server_id,
                                               deps, clientVersion, all, limit_operator, limit)
     return result