[SCM] morituri/master: pychecker fix
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:09 UTC 2014
The following commit has been merged in the master branch:
commit 53e8d9275c5b714be25214eca72ff5cfd5d40ea2
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Wed Jun 24 18:39:07 2009 +0000
pychecker fix
diff --git a/morituri/image/image.py b/morituri/image/image.py
index a22f51c..c4fc48b 100644
--- a/morituri/image/image.py
+++ b/morituri/image/image.py
@@ -150,11 +150,11 @@ class AudioLengthTask(task.Task):
assert sink, 'Error constructing pipeline'
try:
- length, format = sink.query_duration(gst.FORMAT_DEFAULT)
+ length, qformat = sink.query_duration(gst.FORMAT_DEFAULT)
except gst.QueryError:
print 'failed to query %s' % self._path
# wavparse 0.10.14 returns in bytes
- if format == gst.FORMAT_BYTES:
+ if qformat == gst.FORMAT_BYTES:
self.debug('query returned in BYTES format')
length /= 4
self.debug('total length of %s in samples: %d', self._path, length)
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list