SoftwareDefinedBuildings / smap

smap - Simple Measurement and Actuation Profile
Other
30 stars 36 forks source link

JobsResource is not python26 compatible #8

Closed stevedh closed 10 years ago

stevedh commented 10 years ago

Dict comprehensions are only supported in python >= 2.7; some people are still using smap with python 2.6, and I think we should continue to support them. This:

https://github.com/SoftwareDefinedBuildings/smap/blob/master/python/smap/server.py#L233

Prevents sMAP from working since it's now imported by default...

stevedh commented 10 years ago

Thanks Tyler... those dict comprehensions sure were a lot prettier...