From: Tony Mack Date: Fri, 13 Oct 2006 18:48:29 +0000 (+0000) Subject: - turned each key into a real dict before returning X-Git-Tag: pycurl-7_13_1~589 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7f8fff0ec9405fa80ded520791d39b422f93666f;p=plcapi.git - turned each key into a real dict before returning --- diff --git a/PLC/Methods/GetKeys.py b/PLC/Methods/GetKeys.py index 00a0db24..80c45381 100644 --- a/PLC/Methods/GetKeys.py +++ b/PLC/Methods/GetKeys.py @@ -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