summaryrefslogtreecommitdiffstats
path: root/bitbake/bin
diff options
context:
space:
mode:
authorScott Garman <scott.a.garman@intel.com>2011-06-14 16:44:58 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-15 11:13:13 +0100
commit62d538fbe65cf61ebc5996b0d6eb7e4ec47b6ead (patch)
tree685b0c48785db94f4fc26f727932f8779bc2fb5a /bitbake/bin
parent039798a4d250665c66fd738dba4d07dc2ec70652 (diff)
downloadast2050-yocto-poky-62d538fbe65cf61ebc5996b0d6eb7e4ec47b6ead.zip
ast2050-yocto-poky-62d538fbe65cf61ebc5996b0d6eb7e4ec47b6ead.tar.gz
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 <scott.a.garman@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
-rwxr-xr-xbitbake/bin/bitbake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 5109f16..a99dde3 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
OpenPOWER on IntegriCloud