* morituri/image/image.py:
Actually set exception so MultiTask tells us what went wrong.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2011-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/image/image.py:
|
||||
Actually set exception so MultiTask tells us what went wrong.
|
||||
|
||||
2011-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/common/task.py:
|
||||
|
||||
@@ -168,8 +168,9 @@ class AudioLengthTask(gstreamer.GstPipelineTask):
|
||||
|
||||
try:
|
||||
length, qformat = sink.query_duration(self.gst.FORMAT_DEFAULT)
|
||||
except self.gst.QueryError:
|
||||
except self.gst.QueryError, e:
|
||||
self.info('failed to query duration of %r' % self._path)
|
||||
self.setException(e)
|
||||
raise
|
||||
|
||||
# wavparse 0.10.14 returns in bytes
|
||||
|
||||
Reference in New Issue
Block a user