git://git.onelab.eu
/
bootmanager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ea11f
)
wrong key. Fixed.
author
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 17 Mar 2008 19:22:58 +0000
(19:22 +0000)
committer
Faiyaz Ahmed
<faiyaza@cs.princeton.edu>
Mon, 17 Mar 2008 19:22:58 +0000
(19:22 +0000)
source/BootAPI.py
patch
|
blob
|
history
diff --git
a/source/BootAPI.py
b/source/BootAPI.py
index
bedf727
..
3cf074c
100644
(file)
--- 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: