Mitch Garnaat

Fix 2.x only syntax on an except clause.

...@@ -322,7 +322,7 @@ class Function(object): ...@@ -322,7 +322,7 @@ class Function(object):
322 self._context.environment) 322 self._context.environment)
323 self.create_alias(self._context.environment, description) 323 self.create_alias(self._context.environment, description)
324 ready = True 324 ready = True
325 - except ClientError, e: 325 + except ClientError as e:
326 if 'InvalidParameterValueException' in str(e): 326 if 'InvalidParameterValueException' in str(e):
327 LOG.debug('Role is not ready, waiting') 327 LOG.debug('Role is not ready, waiting')
328 time.sleep(2) 328 time.sleep(2)
......