From efac509926916c022171cef2e04303e645127b0d Mon Sep 17 00:00:00 2001 From: Emmanuel Raviart Date: Mon, 2 Aug 2004 17:26:28 +0000 Subject: 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() ). --- python/examples/mapping.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'python/examples/mapping.py') 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() -- cgit