planetfederal / geogig-py

A Python library to use GeoGit
BSD 3-Clause "New" or "Revised" License
24 stars 14 forks source link

Replace 2.7 specific syntax #13

Closed jj0hns0n closed 10 years ago

jj0hns0n commented 10 years ago

Syntax like this doesnt work in python 2.6

return {k : v for k,v in attrs.iteritems() if not isinstance(v, BaseGeometry)}

We should replace this with syntax that works in 2.6 so the lib works there since many stable unixes are still on 2.6

ischneider commented 10 years ago

Might be addressed w/ bc6898e

jj0hns0n commented 10 years ago

I'll pull and test

On Feb 19, 2014, at 14:23, Ian Schneider notifications@github.com wrote:

Might be addressed w/ bc6898e

— Reply to this email directly or view it on GitHub.