def addPendingResult( self, ps, jobid ):
k = self._parametersAsIndex(ps)<EOL>if k in self._results.keys():<EOL><INDENT>rs = self._results[k]<EOL><DEDENT>else:<EOL><INDENT>rs = []<EOL>self._results[k] = rs<EOL><DEDENT>rs.insert(<NUM_LIT:0>, jobid)<EOL>self._pending[jobid] = k<EOL>
Add a "pending" result that we expect to get results for.

        :param ps: the parameters for the result
        :param jobid: an identifier for the pending result