git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67cc4eb
)
change the format of the 'data' to something that nm is used to
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 20 Nov 2009 19:22:29 +0000
(19:22 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 20 Nov 2009 19:22:29 +0000
(19:22 +0000)
sfa/methods/get_ticket.py
patch
|
blob
|
history
diff --git
a/sfa/methods/get_ticket.py
b/sfa/methods/get_ticket.py
index
7b6b3e6
..
75e36b2
100644
(file)
--- a/
sfa/methods/get_ticket.py
+++ b/
sfa/methods/get_ticket.py
@@
-83,9
+83,13
@@
class get_ticket(Method):
# get initscripts
initscripts = None
- sliver['initscripts'] = initscripts
-
- new_ticket.set_attributes(sliver)
+ data = {
+ 'timestamp': int(time.time()),
+ 'initscripts': initscripts,
+ 'slivers': sliver
+ }
+
+ new_ticket.set_attributes(attributes)
new_ticket.set_rspec(rspec)
new_ticket.set_parent(self.api.auth.hierarchy.get_auth_ticket(auth_hrn))