diff py/sensor_test.py @ 230:185621f47040

run 2to3
author Matt Johnston <matt@ucc.asn.au>
date Fri, 10 Apr 2015 23:59:16 +0800
parents 99255c501e02
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 = {}