summaryrefslogtreecommitdiffstats
path: root/python/examples/test.py
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2004-08-02 17:26:28 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2004-08-02 17:26:28 +0000
commitefac509926916c022171cef2e04303e645127b0d (patch)
tree909c6e27046b0d00aa6e1dcd860090ac4dd458a1 /python/examples/test.py
parentcc83fab4cff86d62e6ad0cb9661b0463b7e0464d (diff)
downloadlasso-efac509926916c022171cef2e04303e645127b0d.tar.gz
lasso-efac509926916c022171cef2e04303e645127b0d.tar.xz
lasso-efac509926916c022171cef2e04303e645127b0d.zip
Check that Lasso is inited and shotdown only once.
Lasso Python modules now calls init() at first import (I need this behaviour, because I have several "import lasso" in Expression and I don't know which one will be called first and I don't want to do something like: import lasso if not lasso.inited: lasso.init() ).
Diffstat (limited to 'python/examples/test.py')
-rwxr-xr-xpython/examples/test.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/examples/test.py b/python/examples/test.py
index 9f4ada8f..03541eca 100755
--- a/python/examples/test.py
+++ b/python/examples/test.py
@@ -5,8 +5,6 @@ import sys
sys.path.insert(0, '../')
import lasso
-lasso.init()
-
# creation d'une AuthnRequest
req = lasso.AuthnRequest("http://providerid.com")
req.set_forceAuthn(0)