Commits

P B committed e8eb311

make it python 2.6 compatible

Comments (0)

Files changed (1)

pjlink/projector.py

         param = self.get('ERST')
         errors = 'fan lamp temperature cover filter other'.split()
         assert len(param) == len(errors)
-        return {
-            key: ERROR_STATES_REV[value]
-            for key, value in zip(errors, param)
-        }
+        return dict((key, ERROR_STATES_REV[value]) for key, value in zip(errors, param))
 
     # Lamps