Ejemplo n.º 1
0
 def __verifyTokens(self, rd):
     import rhnChannel
     import rpcServer
     channels = rhnChannel.getChannels()
     channel = channels.channels()[0]
     # if this doesn't throw an auth traceback, the auth doesnt work
     p, t = rpcServer.doCall(rd.listPackages, channel,
                             msgCallback=None, progressCallback=None)
Ejemplo n.º 2
0
 def __verifyTokens(self, rd):
     import rhnChannel
     import rpcServer
     channels = rhnChannel.getChannels()
     channel = channels.channels()[0]
     # if this doesn't throw an auth traceback, the auth doesnt work
     p, t = rpcServer.doCall(rd.listPackages, channel,
                             msgCallback=None, progressCallback=None)
Ejemplo n.º 3
0
 def __init__(self, handlers=None, depSolveHandlers=None):
     if handlers:
         self.handlers = handlers
     if depSolveHandlers:
         self.depSolveHandlers = depSolveHandlers
     self.channels = rhnChannel.getChannels()