X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=manifold%2Fmanifoldapi.py;h=cd14efe7f71c10c0245089feda380266d8d05719;hb=0d6aaca78a4eb641119c382a310240c4e8fc8932;hp=ee1f82ecfc0fe7a16d7243b1a6aa8fda33410b38;hpb=d45cc579de128aecc723e387023f92b62165ad59;p=myslice.git diff --git a/manifold/manifoldapi.py b/manifold/manifoldapi.py index ee1f82ec..cd14efe7 100644 --- a/manifold/manifoldapi.py +++ b/manifold/manifoldapi.py @@ -1,5 +1,5 @@ # Manifold API Python interface -import xmlrpclib +import copy, xmlrpclib from myslice.config import Config @@ -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 = copy.copy(self.auth) + if 'AuthString' in logAuth: + logAuth['AuthString']="XXX" + print "=> auth",logAuth print "=> args",args,"kwds",kwds annotations = { 'authentication': self.auth