taking researcher list from the input record
authorAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Mon, 29 Jun 2009 21:03:18 +0000 (21:03 +0000)
committerAnil-Kumar Vengalil <Anil-Kumar.Vengalil@sophia.inria.fr>
Mon, 29 Jun 2009 21:03:18 +0000 (21:03 +0000)
geni/util/slices.py

index 8963535..596e0bb 100644 (file)
@@ -168,7 +168,7 @@ class Slices(SimpleStorage):
             slice = slices[0]    
         # get the list of valid slice users from the registry and make 
         # they are added to the slice 
-        researchers = slice.get('researcher', [])
+        researchers = record.get('researcher', [])
         for researcher in researchers:
             person_record = {}
             person_records = registry.resolve(credential, researcher)