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:22:41 +0000 |
commit | 33bea949bae54ddc89aa83cf07d7b1ee62e2b393 (patch) | |
tree | 1f0d83b4e922923e6d8765a82f931e30e91abae7 /meta/classes/compress_doc.bbclass | |
parent | 36d94ed631f1a753482282fced7d3b7505d5e03d (diff) | |
download | openembedded-core-contrib-33bea949bae54ddc89aa83cf07d7b1ee62e2b393.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.
Signed-off-by: Merten Sach <msach@mailbox.tu-berlin.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/compress_doc.bbclass')
0 files changed, 0 insertions, 0 deletions