diff options
author | Merten Sach <msach@mailbox.tu-berlin.de> | 2014-11-22 22:54:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-03 12:23:59 +0000 |
commit | 97d5b997cf34c58e8dfd85bbc868ae708a63b4b5 (patch) | |
tree | e47f871aa076d227f85189eaeea2e2685eebe46c /meta/recipes-graphics/eglinfo | |
parent | 496a793d7b31d30e918d90ae257c01341aed05c1 (diff) | |
download | poky-97d5b997cf34c58e8dfd85bbc868ae708a63b4b5.tar.gz |
metadata_scm: Fix crash due to uncaught python exception
Function base_get_metadata_svn_revision was crashing due to an uncaught
IndexError exception.
The except notation without parentheses is legacy syntax. It is the equivalent
to 'except IOError as IndexError' which is not what we want here.
The change catches both exceptions.
(From OE-Core rev: 33bea949bae54ddc89aa83cf07d7b1ee62e2b393)
Signed-off-by: Merten Sach <msach@mailbox.tu-berlin.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/eglinfo')
0 files changed, 0 insertions, 0 deletions