fix bug regarding site_id
authorTony Mack <tmack@cs.princeton.edu>
Wed, 19 Aug 2009 14:39:05 +0000 (14:39 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 19 Aug 2009 14:39:05 +0000 (14:39 +0000)
sfa/plc/slices.py

index 28c39fd..7e49e62 100644 (file)
@@ -227,7 +227,8 @@ class Slices(SimpleStorage):
             slice['node_ids'] = []
         else:
             slice = slices[0]
-            slice_id = slice['slice_id']    
+            slice_id = slice['slice_id']
+            site_id = slice['site_id']    
         # get the list of valid slice users from the registry and make 
         # they are added to the slice 
         researchers = record.get('researcher', [])