git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcf673c
)
- turn each slice into a real dict before returning
author
Tony Mack
<tmack@cs.princeton.edu>
Fri, 13 Oct 2006 19:41:38 +0000
(19:41 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Fri, 13 Oct 2006 19:41:38 +0000
(19:41 +0000)
PLC/Methods/GetSlices.py
patch
|
blob
|
history
diff --git
a/PLC/Methods/GetSlices.py
b/PLC/Methods/GetSlices.py
index
9aa041d
..
292de53
100644
(file)
--- a/
PLC/Methods/GetSlices.py
+++ b/
PLC/Methods/GetSlices.py
@@
-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