[bitbake-devel] Bitbake exception handling syntax.
Scott Garman
scott.a.garman at intel.com
Tue Jun 14 23:44:33 UTC 2011
In a failed attempt to make bitbake pass the parsing stage with python
v3, I noticed that the syntax we use for exception handling is
inconsistent.
The old way is to do: except ExcType, localvar
The new way is: except ExcType as localvar
We're using the new syntax (which is python v3.x compatible) throughout
most of the code, so the patch I'm about to submit cleans up the
remaining cases using the old syntax.
Scott
--
Scott Garman
Embedded Linux Engineer - Yocto Project
Intel Open Source Technology Center
More information about the bitbake-devel
mailing list