From: Faiyaz Ahmed Date: Mon, 17 Mar 2008 19:22:58 +0000 (+0000) Subject: wrong key. Fixed. X-Git-Tag: BootManager-3.2-5~6 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0d94e427bd28f90b7fc325ab0c616a63c6d0cfaf;p=bootmanager.git wrong key. Fixed. --- diff --git a/source/BootAPI.py b/source/BootAPI.py index bedf727..3cf074c 100644 --- a/source/BootAPI.py +++ b/source/BootAPI.py @@ -45,12 +45,12 @@ def create_auth_structure( vars, call_params ): auth['value']= node_hmac try: auth_session = {} - if not vars.has_key('SESSION'): + if not vars.has_key('NODE_SESSION'): session = vars['API_SERVER_INST'].GetSession(auth) auth_session['session'] = session vars['SESSION'] = session else: - auth_session['session'] = vars['SESSION'] + auth_session['session'] = vars['NODE_SESSION'] auth_session['AuthMethod'] = 'session' auth = auth_session except Exception, e: