diff --git a/kappa/function.py b/kappa/function.py index a81e0e0..2940930 100644 --- a/kappa/function.py +++ b/kappa/function.py @@ -278,7 +278,7 @@ def tail(self, attempt=0): try: LOG.debug('tailing function: %s', self.name) return self.log.tail() - except Exception, e: + except Exception as e: if attempt > 10: return e