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/mapping.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/mapping.py')
| -rw-r--r-- | python/examples/mapping.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/python/examples/mapping.py b/python/examples/mapping.py index bde6ec57..5a71abfc 100644 --- a/python/examples/mapping.py +++ b/python/examples/mapping.py @@ -4,8 +4,6 @@ import sys sys.path.insert(0, '../') import lasso -lasso.init() - req = lasso.NameIdentifierMappingRequest.new("http://providerid.com", "CDSC7SCD65SCDSDCCDS", "http://qualifier.com", "federated") print 'dump req : ', req.dump() |
