Jose Diaz-Gonzalez

Fix exception catching

...@@ -278,7 +278,7 @@ class Function(object): ...@@ -278,7 +278,7 @@ class Function(object):
278 try: 278 try:
279 LOG.debug('tailing function: %s', self.name) 279 LOG.debug('tailing function: %s', self.name)
280 return self.log.tail() 280 return self.log.tail()
281 - except Exception, e: 281 + except Exception as e:
282 if attempt > 10: 282 if attempt > 10:
283 return e 283 return e
284 284
......