(wip)
[myslice.git] / manifold / manifoldapi.py
index 6d168bb..1b97505 100644 (file)
@@ -1,5 +1,5 @@
 # Manifold API Python interface
-import xmlrpclib
+import copy, xmlrpclib
 
 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
-                    logAuth = self.auth
+                    logAuth = copy.copy(self.auth)
                     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)
+                print "%s%r" %(methodName, args)
+                
                 if debug:
                     print '<= result=',
                     self._print_result(result)