[SCM] morituri/master: apparently this can also throw indexerror

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:14 UTC 2014


The following commit has been merged in the master branch:
commit 83027a710a68a28ad1bc5f0bca36c63b4b9356d8
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Wed Dec 9 17:37:41 2009 +0000

    apparently this can also throw indexerror

diff --git a/morituri/image/image.py b/morituri/image/image.py
index 0c29006..786be72 100644
--- a/morituri/image/image.py
+++ b/morituri/image/image.py
@@ -249,7 +249,7 @@ class ImageEncodeTask(task.MultiSeparateTask):
             htoa = cue.table.tracks[0].indexes[0]
             self.debug('encoding htoa track')
             add(htoa)
-        except IndexError:
+        except (KeyError, IndexError):
             self.debug('no htoa track')
             pass
 

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list