fixed host and port to make it work again

This commit is contained in:
tao.takashi
2008-07-14 18:45:30 +00:00
committed by Salad Dais
parent 91486dccd7
commit 23ac671be7

View File

@@ -12,8 +12,7 @@ First we create some credentials:
>>> credentials = PlainPasswordCredential('Firstname', 'Lastname', 'secret')
Then we need some agent domain to connect to. This might automatically retrieve some XRDS file to get the actual login endpoint:
agentdomain = AgentDomain('http://localhost:12345')
>>> agentdomain = AgentDomain('/')
>>> agentdomain = AgentDomain('http://localhost:12345')
Now we can use both to get an agent object (which transparently handles capabilities etc.):
>>> agent = agentdomain.login(credentials)