diff options
author | Scott Garman <scott.a.garman@intel.com> | 2011-06-14 16:44:58 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-15 11:08:43 +0100 |
commit | dbf5f42b06bef81749b13aa99945cc1292a6676d (patch) | |
tree | 04b6a3bdb3b4dfcae58ad0e233eb700317736984 /bin | |
parent | 9bff182a4ba9571679985b45b309990a6eddad14 (diff) | |
download | bitbake-dbf5f42b06bef81749b13aa99945cc1292a6676d.tar.gz |
make exception handling syntax consistent
Update exception handling syntax to use the modern style:
except ExcType as localvar
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bitbake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bitbake b/bin/bitbake index 66bbb2108..95820a2d7 100755 --- a/bin/bitbake +++ b/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 |