summaryrefslogtreecommitdiffstats
path: root/python/doc
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-07-25 13:52:22 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-07-25 13:52:22 +0000
commit110851e9d73a98cf56e6677cdc057eb0035bc6b5 (patch)
treedcbefe6ddcc4b3f9c705238648eca0a288d797b8 /python/doc
parent58666f93a17c1d9c05c1211ee7bd5713a1b96996 (diff)
downloadlasso-110851e9d73a98cf56e6677cdc057eb0035bc6b5.tar.gz
lasso-110851e9d73a98cf56e6677cdc057eb0035bc6b5.tar.xz
lasso-110851e9d73a98cf56e6677cdc057eb0035bc6b5.zip
fixed tabulations in python files (oh the horror; they were mixed with space
indendations). Also installed a test on commits to catch this (and check xml files)
Diffstat (limited to 'python/doc')
-rwxr-xr-xpython/doc/pythfilter.py4
-rw-r--r--python/doc/tutorial/sp-logout-process-idp-initiated-redirect-request.py2
-rw-r--r--python/doc/tutorial/sp-logout-process-idp-initiated-soap-request.py2
3 files changed, 4 insertions, 4 deletions
diff --git a/python/doc/pythfilter.py b/python/doc/pythfilter.py
index 289f7f1d..fcb61f9e 100755
--- a/python/doc/pythfilter.py
+++ b/python/doc/pythfilter.py
@@ -397,7 +397,7 @@ def tok_eater(type, tok, spos, epos, line):
s = 'static '
if params[0] == 'cls':
param = string.join(params[1:], ",")
- s = s+name+"("+param+");\n"
+ s = s+name+"("+param+");\n"
if len(name) > 1 \
and name[0:2] == '__' \
and name[len(name)-2:len(name)] != '__' \
@@ -405,7 +405,7 @@ def tok_eater(type, tok, spos, epos, line):
private_member = True
output(" private:\n",(def_spos[0]+2,def_spos[1]))
else:
- s = name+"("+param+");\n"
+ s = name+"("+param+");\n"
if (doc_string!=""): comment_block.append(doc_string)
print_comment(def_spos)
output(s,def_spos)
diff --git a/python/doc/tutorial/sp-logout-process-idp-initiated-redirect-request.py b/python/doc/tutorial/sp-logout-process-idp-initiated-redirect-request.py
index c962e505..e74088d5 100644
--- a/python/doc/tutorial/sp-logout-process-idp-initiated-redirect-request.py
+++ b/python/doc/tutorial/sp-logout-process-idp-initiated-redirect-request.py
@@ -18,7 +18,7 @@ if not account:
else:
user_dump = [...] # Retrieve string user_dump from account.
if not user_dump:
- logout.response_status = lasso.libStatusCodes['unknownPrincipal']
+ logout.response_status = lasso.libStatusCodes['unknownPrincipal']
else:
user = lasso.User.new_from_dump(user_dump)
del user.authn_assertion
diff --git a/python/doc/tutorial/sp-logout-process-idp-initiated-soap-request.py b/python/doc/tutorial/sp-logout-process-idp-initiated-soap-request.py
index dc17fe81..9922ff8c 100644
--- a/python/doc/tutorial/sp-logout-process-idp-initiated-soap-request.py
+++ b/python/doc/tutorial/sp-logout-process-idp-initiated-soap-request.py
@@ -18,7 +18,7 @@ if not account:
else:
user_dump = [...] # Retrieve string user_dump from account.
if not user_dump:
- logout.response_status = lasso.libStatusCodes['unknownPrincipal']
+ logout.response_status = lasso.libStatusCodes['unknownPrincipal']
else:
user = lasso.User.new_from_dump(user_dump)
del user.authn_assertion