aboutsummaryrefslogtreecommitdiffstats
path: root/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:08:43 +0100
commitdbf5f42b06bef81749b13aa99945cc1292a6676d (patch)
tree04b6a3bdb3b4dfcae58ad0e233eb700317736984 /bin
parent9bff182a4ba9571679985b45b309990a6eddad14 (diff)
downloadbitbake-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-xbin/bitbake2
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