pacsretrieve/pacsretrieve.py
def retrieveStatus_filterPending(self, al_checkCall, al_checkResult):
        """
        Builds a list of status checks that have pending results
        """
        l_pendingCall       = []
        l_pendingResult     = []
        l_doneResult        = []
        b_pending           = False

        # pudb.set_trace()
        for d_call, d_result in zip(al_checkCall, al_checkResult):
            if not d_result['status']:
                l_pendingResult.append(d_result)
                l_pendingCall.append(d_call)
                b_pending    = True 
            else:
                l_doneResult.append(d_result)
        self.dp.qprint('pendingCalls = %d' % len(l_pendingCall))
        self.dp.qprint('doneResults  = %d' % len(l_doneResult))
        self.dp.qprint('b_pending    = %d' % b_pending)
        return {
            'status':               b_pending,
            'pendingResults':       l_pendingResult,
            'doneResults':          l_doneResult,
            'pendingCalls':         l_pendingCall
        }

        Builds a list of status checks that have pending results
        
Builds a list of status checks that have pending results
Builds a list of status checks that have pending results
def retrieveStatus_filterPending(self, al_checkCall, al_checkResult):
        l_pendingCall       = []
        l_pendingResult     = []
        l_doneResult        = []
        b_pending           = False
        for d_call, d_result in zip(al_checkCall, al_checkResult):
            if not d_result['status']:
                l_pendingResult.append(d_result)
                l_pendingCall.append(d_call)
                b_pending    = True 
            else:
                l_doneResult.append(d_result)
        self.dp.qprint('pendingCalls = %d' % len(l_pendingCall))
        self.dp.qprint('doneResults  = %d' % len(l_doneResult))
        self.dp.qprint('b_pending    = %d' % b_pending)
        return {
            'status':               b_pending,
            'pendingResults':       l_pendingResult,
            'doneResults':          l_doneResult,
            'pendingCalls':         l_pendingCall
        }
def retrieveStatus_filterPending ( self , al_checkCall , al_checkResult ) : l_pendingCall = [ ] l_pendingResult = [ ] l_doneResult = [ ] b_pending = False for d_call , d_result in zip ( al_checkCall , al_checkResult ) : if not d_result [ 'status' ] : l_pendingResult . append ( d_result ) l_pendingCall . append ( d_call ) b_pending = True else : l_doneResult . append ( d_result ) self . dp . qprint ( 'pendingCalls = %d' % len ( l_pendingCall ) ) self . dp . qprint ( 'doneResults  = %d' % len ( l_doneResult ) ) self . dp . qprint ( 'b_pending    = %d' % b_pending ) return { 'status' : b_pending , 'pendingResults' : l_pendingResult , 'doneResults' : l_doneResult , 'pendingCalls' : l_pendingCall }
Builds a list of status checks that have pending results
Builds a list of status checks that have pending results
"""
        Builds a list of status checks that have pending results
        """ # pudb.set_trace()
self
al_checkCall
al_checkResult