Tang Chen dc7e4fc15d Fix dict.keys() compatibility for python 3
In Python 2, dict.keys() will return a list.
But in Python 3, it will return an iterator.
So we need to fix all the places that assuming
dict.keys() is a list.

Change-Id: I8d1cc536377b3e5c644cfaa0892e40d0bd7c11b1
Closes-Bug: #1556350
2016-03-12 10:58:28 +08:00
..
2016-03-07 17:54:06 +08:00
2016-01-29 08:18:50 +09:00
2016-03-11 20:48:32 +00:00
2016-02-23 10:38:58 -06:00
2016-01-29 08:18:50 +09:00