def makeIndirectNeed(self,
                         statePath,
                         stateField,
                         comparison,
                         goalPath,
                         goalField,
                         tolerance):
        actorName = 'Need' + 'Indirect' #capitalize second word

        if actorName not in needing.Need.Registry:
            msg = "ParseError: Need can't find actor named '%s'" % (actorName)
            raise excepting.ParseError(msg, tokens, index)

        parms = {}
        parms['state'] = statePath #this is string
        parms['stateField'] = stateField #this is a string
        parms['comparison'] = comparison #this is a string
        parms['goal'] = goalPath #this is a string
        parms['goalField'] = goalField #this is a string
        parms['tolerance'] = tolerance #this is a number

        msg = "     Created Actor {0} parms: ".format(actorName)
        for key, value in parms.items():
            msg += " {0} = {1}".format(key, value)
        console.profuse("{0}\n".format(msg))

        act = acting.Act(   actor=actorName,
                            registrar=needing.Need,
                            parms=parms,
                            human=self.currentHuman,
                            count=self.currentCount)

        return act
Extract DNS info from a registry key.
dataset/ETHPy150Open ioflo/ioflo/ioflo/base/building.py/Builder.makeIndirectNeed--crossover with--dataset/ETHPy150Open catap/namebench/nb_third_party/dns/resolver.py/Resolver._config_win32_fromkey