print "====> ManifoldAPI.%s"%repr(),"url",self.url
# No password in the logs
logAuth = copy.copy(self.auth)
- if 'AuthString' in logAuth:
- logAuth['AuthString']="XXX"
+ for obfuscate in ['Authring','session']:
+ if obfuscate in logAuth: logAuth[obfuscate]="XXX"
print "=> auth",logAuth
print "=> args",args,"kwds",kwds
annotations = {
print "-"*80
result = manifold_api.forward(query.to_dict())
if result['code'] == 2:
+ # XXX only if we know it is the issue
+ del request.session['manifold']
raise Exception, 'Error running query: %r' % result
if result['code'] == 1: