data['slivers'] should be a list even though there will only be 1 element in the...
authorTony Mack <tmack@cs.princeton.edu>
Fri, 20 Nov 2009 19:39:43 +0000 (19:39 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 20 Nov 2009 19:39:43 +0000 (19:39 +0000)
sfa/methods/get_ticket.py

index 1c7ed63..f96fe81 100644 (file)
@@ -86,7 +86,7 @@ class get_ticket(Method):
         data = {
             'timestamp': int(time.time()),
             'initscripts': initscripts,
-            'slivers': sliver 
+            'slivers': [sliver] 
         }
 
         new_ticket.set_attributes(data)