def mkSuccess(endpoint, q):
 signed_list = [('openid.' + k) for k in q.keys()]
 return SuccessResponse(endpoint, Message.fromOpenIDArgs(q), signed_list)

def mkSuccess ( endpoint , q ) : signed_list = [ ( 'openid.' + k ) for k in q . keys ( ) ] return SuccessResponse ( endpoint , Message . fromOpenIDArgs ( q ) , signed_list )
convenience function to create a successresponse with the given arguments .