+ print "="*80
+ print "ANSWER IN PROXY", answer
+ print answer.ok_value()
+ print "="*80
+ if debug:
+ print '<=== manifoldproxy.proxy: received from backend with code', answer['code']
+ if answer['code']==0:
+ print ".... ctd ",
+ value=answer.ok_value()
+ if isinstance (value, list): print "result is a list with %d entries"%len(value)
+ elif isinstance (value, dict): print "result is a dict with keys %s"%value.keys()
+ else: print "result is other (type=%s) : %s"%(type(value),value)