git://git.onelab.eu
/
myslice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e618419
)
No user password in logs
author
Loic Baron
<loic.baron@lip6.fr>
Wed, 20 Nov 2013 15:50:52 +0000
(16:50 +0100)
committer
Loic Baron
<loic.baron@lip6.fr>
Wed, 20 Nov 2013 15:50:52 +0000
(16:50 +0100)
README
patch
|
blob
|
history
manifold/manifoldapi.py
patch
|
blob
|
history
diff --git
a/README
b/README
index
3a894cc
..
7bcba42
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
* 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 --
* git clone git://git.onelab.eu/myslice.git
-- or --
diff --git
a/manifold/manifoldapi.py
b/manifold/manifoldapi.py
index
1ffcace
..
700a765
100644
(file)
--- a/
manifold/manifoldapi.py
+++ b/
manifold/manifoldapi.py
@@
-63,7
+63,11
@@
class ManifoldAPI:
try:
if debug:
print "====> ManifoldAPI.%s"%repr(),"url",self.url
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
print "=> args",args,"kwds",kwds
annotations = {
'authentication': self.auth