Think I found a typo in one of the code samples.

At https://wiki.secondlife.com/wiki/PyOGP_Client_Library#Multiple_Agent_Login
you have this:

from pyogp.lib.client.agent import Agent
from pyogp.lib.client.agentmanager import AgentManager

params = [['agent1', 'lastname', 'password'], ['agent2', 'lastname',
'password']]
agents = []

# prime the Agent instances
for params in clients:

    agents.append(Agent(settings, params[0], params[1], params[2]))


But where is "clients" defined?  I think you meant this:

from pyogp.lib.client.agent import Agent
from pyogp.lib.client.agentmanager import AgentManager

clients = [['agent1', 'lastname', 'password'], ['agent2', 'lastname',
'password']]
agents = []

# prime the Agent instances
for params in clients:
    agents.append(Agent(settings, params[0], params[1], params[2]))

I've made the change on the wiki.  If I'm completely missing something
I won't be offended to have my change reverted. :)

Brent

On Mon, Oct 19, 2009 at 5:01 PM, Brent Tubbs <brent.tu...@gmail.com> wrote:
> Thank you!  I've been lurking on the list for a while but it's been
> like stepping into the middle of a very technical conversation where
> you don't know the lingo.  This is perfect.
>
> On Mon, Oct 19, 2009 at 12:49 PM, Enus Linden <e...@lindenlab.com> wrote:
>> Hi all, just dropping a note letting y'all know that updated user oriented
>> docs about pyogp are posted on the wiki. They'll likely see a rev or two,
>> but if you find them lacking (or, gasp, wrong) in any way, let us know and
>> we'll update them.
>>
>> https://wiki.secondlife.com/wiki/PyOGP_Client_Library
>>
>> Thanks
>> ~e
>>
>> _______________________________________________
>> Click here to unsubscribe or manage your list subscription:
>> https://lists.secondlife.com/cgi-bin/mailman/listinfo/pyogp
>>
>>
>
_______________________________________________
Click here to unsubscribe or manage your list subscription:
https://lists.secondlife.com/cgi-bin/mailman/listinfo/pyogp

Reply via email to