diff py/uploader.py @ 230:185621f47040

run 2to3
author Matt Johnston <matt@ucc.asn.au>
date Fri, 10 Apr 2015 23:59:16 +0800
parents d9e81a563923
children e39ed85d87a5
line wrap: on
line diff
--- a/py/uploader.py	Fri Apr 10 23:55:07 2015 +0800
+++ b/py/uploader.py	Fri Apr 10 23:59:16 2015 +0800
@@ -61,7 +61,7 @@
             yield from self.send(tosend)
             readings = None
             D("Sent updated %d readings" % nreadings)
-        except Exception, e:
+        except Exception as e:
             EX("Error in uploader: %s" % str(e))
         finally:
             if readings is not None: