Merge branch 'master' of ssh://git.onelab.eu/git/myslice
[myslice.git] / manifold / manifoldapi.py
index ee1f82e..6d168bb 100644 (file)
@@ -70,7 +70,11 @@ class ManifoldAPI:
             try:
                 if debug:
                     print "====> ManifoldAPI.%s"%repr(),"url",self.url
-                    print "=> auth",self.auth
+                    # No password in the logs
+                    logAuth = self.auth
+                    if 'AuthString' in logAuth:
+                        logAuth['AuthString']="XXX"
+                    print "=> auth",logAuth
                     print "=> args",args,"kwds",kwds
                 annotations = {
                     'authentication': self.auth