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
(wip)
[myslice.git]
/
manifold
/
manifoldapi.py
diff --git
a/manifold/manifoldapi.py
b/manifold/manifoldapi.py
index
6d168bb
..
1b97505
100644
(file)
--- a/
manifold/manifoldapi.py
+++ b/
manifold/manifoldapi.py
@@
-1,5
+1,5
@@
# Manifold API Python interface
# Manifold API Python interface
-import xmlrpclib
+import
copy,
xmlrpclib
from myslice.config import Config
from myslice.config import Config
@@
-71,7
+71,7
@@
class ManifoldAPI:
if debug:
print "====> ManifoldAPI.%s"%repr(),"url",self.url
# No password in the logs
if debug:
print "====> ManifoldAPI.%s"%repr(),"url",self.url
# No password in the logs
- logAuth =
self.auth
+ logAuth =
copy.copy(self.auth)
if 'AuthString' in logAuth:
logAuth['AuthString']="XXX"
print "=> auth",logAuth
if 'AuthString' in logAuth:
logAuth['AuthString']="XXX"
print "=> auth",logAuth
@@
-81,6
+81,8
@@
class ManifoldAPI:
}
args += (annotations,)
result=getattr(self.server, methodName)(*args, **kwds)
}
args += (annotations,)
result=getattr(self.server, methodName)(*args, **kwds)
+ print "%s%r" %(methodName, args)
+
if debug:
print '<= result=',
self._print_result(result)
if debug:
print '<= result=',
self._print_result(result)