- turned each key into a real dict before returning
authorTony Mack <tmack@cs.princeton.edu>
Fri, 13 Oct 2006 18:48:29 +0000 (18:48 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Fri, 13 Oct 2006 18:48:29 +0000 (18:48 +0000)
PLC/Methods/GetKeys.py

index 00a0db2..80c4538 100644 (file)
@@ -33,4 +33,7 @@ class GetKeys(Method):
                
        keys = Keys(self.api, key_id_list).values()
        
+       # Turn each key into a real dict
+       keys = [dict(key.items()) for key in keys]
+               
         return keys