From e24a3a496ab7776e3d4d8254bc7676728315ae0e Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Thu, 8 Aug 2013 14:10:57 +1200 Subject: [PATCH] Fix H231 Python 3.x incompatible 'except x,y:' This is triggered in the pep8 check when using the syncronised requirements versions. Change-Id: Ie73c44b85025f79e7358303fab2697e076f7cabf --- bin/heat-api-cloudwatch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/heat-api-cloudwatch b/bin/heat-api-cloudwatch index 155a4d48..6a53a43c 100755 --- a/bin/heat-api-cloudwatch +++ b/bin/heat-api-cloudwatch @@ -64,5 +64,5 @@ if __name__ == '__main__': server = wsgi.Server() server.start(app, cfg.CONF, default_port=port) server.wait() - except RuntimeError, e: + except RuntimeError as e: sys.exit("ERROR: %s" % e) -- 2.45.2