diff py/uploader.py @ 529:5201f441bf4a

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