
In python 3, dict.keys() is a class of 'dict_keys', it does not support indexing. Cast the dict to list to get the "first" value of dict, which is compatible with python 2&3. Closes-Bug: #1229005 Change-Id: I561b7ada9e5ad936659a657b3161a9b93a15a788
In python 3, dict.keys() is a class of 'dict_keys', it does not support indexing. Cast the dict to list to get the "first" value of dict, which is compatible with python 2&3. Closes-Bug: #1229005 Change-Id: I561b7ada9e5ad936659a657b3161a9b93a15a788