Fixed python2.6 support (by removing use of viewvalues on a dict). #1198

Merged
merged 1 commit into from Sep 3, 2012