Merge branch 'master' of ssh://git.onelab.eu/git/myslice
authorLoic Baron <loic.baron@lip6.fr>
Wed, 20 Nov 2013 15:51:13 +0000 (16:51 +0100)
committerLoic Baron <loic.baron@lip6.fr>
Wed, 20 Nov 2013 15:51:13 +0000 (16:51 +0100)
README
manifold/manifoldapi.py

diff --git a/README b/README
index 3c0f943..2a183a8 100644 (file)
--- a/README
+++ b/README
@@ -9,6 +9,8 @@ See the devel/ subdir for more devel-oriented doc.
 *  REQUIREMENTS  is to have python + django (1.5.2) installed django
 ** should be straightforward
 ** see devel/django-install.txt in case of trouble
+$ apt-get install python-django
+$ apt-get install python-django-south
 
 * git clone git://git.onelab.eu/myslice.git
 -- or --
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