git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cosmetic for tracing API calls
[myslice.git]
/
engine
/
manifoldapi.py
diff --git
a/engine/manifoldapi.py
b/engine/manifoldapi.py
index
21a9ec9
..
40b95c1
100644
(file)
--- a/
engine/manifoldapi.py
+++ b/
engine/manifoldapi.py
@@
-25,7
+25,7
@@
class ManifoldAPI:
def __getattr__(self, methodName):
def func(*args, **kwds):
result=getattr(self.proxy, methodName)(self.auth, *args, **kwds)
def __getattr__(self, methodName):
def func(*args, **kwds):
result=getattr(self.proxy, methodName)(self.auth, *args, **kwds)
- if debug: print methodName, self.auth, self.url,'->',result
+ if debug: print
'===> backend call',
methodName, self.auth, self.url,'->',result
return result
return func
return result
return func