MCPcopy Create free account
hub / github.com/ActiveState/code / errback

Function errback

recipes/Python/473865_Authenticate/recipe-473865.py:81–83  ·  view source on GitHub ↗
(failure)

Source from the content-addressed store, hash-verified

79 print data.items()
80 reactor.stop()
81 def errback(failure):
82 #print failure.getErrorMessage()
83 reactor.stop()
84 server = AuthProxy('http://admin:admin@192.168.4.10:9673/site01/')
85 d = server.callRemote('getXMLRPCUserInfo')
86 d.addCallback(callback)

Callers 3

checkFunction · 0.50
failMethod · 0.50
addErrbackMethod · 0.50

Calls 1

stopMethod · 0.45

Tested by

no test coverage detected