- turn each slice into a real dict before returning
authorTony Mack <tmack@cs.princeton.edu>
Fri, 13 Oct 2006 19:41:38 +0000 (19:41 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 13 Oct 2006 19:41:38 +0000 (19:41 +0000)
PLC/Methods/GetSlices.py

index 9aa041d..292de53 100644 (file)
@@ -42,4 +42,7 @@ class GetSlices(Method):
                 can_view = member_of
             slices = filter(can_view, slices)
 
+       # turn each slice into a real dict
+       slices = [dict(slice.items()) for slice in slices]
+
         return slices