diff options
| author | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-08-02 17:26:28 +0000 |
|---|---|---|
| committer | Emmanuel Raviart <eraviart@entrouvert.com> | 2004-08-02 17:26:28 +0000 |
| commit | efac509926916c022171cef2e04303e645127b0d (patch) | |
| tree | 909c6e27046b0d00aa6e1dcd860090ac4dd458a1 /python/examples/registration.py | |
| parent | cc83fab4cff86d62e6ad0cb9661b0463b7e0464d (diff) | |
| download | lasso-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/registration.py')
| -rw-r--r-- | python/examples/registration.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/python/examples/registration.py b/python/examples/registration.py index de922cde..23d2fb8d 100644 --- a/python/examples/registration.py +++ b/python/examples/registration.py @@ -4,8 +4,6 @@ import sys sys.path.insert(0, '../') import lasso -lasso.init() - # servers : spserver = lasso.Server.new("../../examples/sp.xml", "../../examples/rsapub.pem", "../../examples/rsakey.pem", "../../examples/rsacert.pem", |
