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
..
2014-01-20 17:28:13 +04:00
2016-02-23 10:38:58 -06:00
2016-02-21 13:21:31 +08:00
2016-03-09 16:00:39 +00:00
2016-02-23 10:38:58 -06:00
2015-12-02 01:55:14 +00:00
2016-02-23 11:08:36 -06:00