From 62d538fbe65cf61ebc5996b0d6eb7e4ec47b6ead Mon Sep 17 00:00:00 2001 From: Scott Garman Date: Tue, 14 Jun 2011 16:44:58 -0700 Subject: make exception handling syntax consistent Update exception handling syntax to use the modern style: except ExcType as localvar (Bitbake rev: dbf5f42b06bef81749b13aa99945cc1292a6676d) Signed-off-by: Scott Garman Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/bin') diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake index 5109f16ff9..a99dde311f 100755 --- a/bitbake/bin/bitbake +++ b/bitbake/bin/bitbake @@ -32,7 +32,7 @@ import warnings from traceback import format_exception try: import bb -except RuntimeError, exc: +except RuntimeError as exc: sys.exit(str(exc)) from bb import event import bb.msg -- cgit v1.2.3-54-g00ecf