[SCM] morituri/master: pychecker fix

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


The following commit has been merged in the master branch:
commit 8f94731876ea49e6cbe4972b335f2be15fe2853c
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Fri Sep 11 15:43:47 2009 +0000

     pychecker fix

diff --git a/morituri/common/program.py b/morituri/common/program.py
index 28391a2..ff5b12c 100644
--- a/morituri/common/program.py
+++ b/morituri/common/program.py
@@ -485,7 +485,7 @@ class Program(log.Loggable):
                 ar = ", DB [%08x]" % trackResult.ARDBCRC
             # htoa tracks (i == 0) do not have an ARCRC
             if trackResult.ARCRC is None:
-                assert trackResult.number is 0, \
+                assert trackResult.number == 0, \
                     'no trackResult.ARCRC on non-HTOA track'
                 res.append("Track  0: unknown          (not tracked)")
             else:

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list