diff py/sensor_test.py @ 529:5201f441bf4a

run 2to3
author Matt Johnston <matt@ucc.asn.au>
date Fri, 10 Apr 2015 23:59:16 +0800
parents 61e61de49a50
children a01b7bccccd3
line wrap: on
line diff
--- a/py/sensor_test.py	Fri Apr 10 23:55:07 2015 +0800
+++ b/py/sensor_test.py	Fri Apr 10 23:59:16 2015 +0800
@@ -12,7 +12,7 @@
         def try_read(f, fallback):
             try:
                 return open(f, 'r').read()
-            except Exception, e:
+            except Exception as e:
                 return fallback
 
         vals = {}