[SCM] morituri/master: * examples/readhtoa.py: Fix example.

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:08:58 UTC 2014


The following commit has been merged in the master branch:
commit 4040fafd3f41666ec2ce00b77562b2a55ead1c8f
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun May 10 14:51:29 2009 +0000

    	* examples/readhtoa.py:
    	  Fix example.

diff --git a/ChangeLog b/ChangeLog
index 452b5fa..c134a21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-10  Thomas Vander Stichele  <thomas at apestaart dot org>
+
+	* examples/readhtoa.py:
+	  Fix example.
+
 2009-05-07  Thomas Vander Stichele  <thomas at apestaart dot org>
 
 	* morituri/image/table.py:
diff --git a/examples/readhtoa.py b/examples/readhtoa.py
index c609cb7..62db228 100644
--- a/examples/readhtoa.py
+++ b/examples/readhtoa.py
@@ -46,7 +46,7 @@ def main():
     runner.run(t)
 
     # now check if we have a hidden track one audio
-    track = t.toc.tracks[0]
+    track = t.table.tracks[0]
     try:
         index = track.getIndex(0)
     except KeyError:
@@ -58,7 +58,7 @@ def main():
     print 'Found Hidden Track One Audio from frame %d to %d' % (start, stop)
         
     # rip it
-    riptask = cdparanoia.ReadVerifyTrackTask('track00.wav', toc,
+    riptask = cdparanoia.ReadVerifyTrackTask('track00.wav', table,
         start, stop - 1,
         offset=int(options.offset))
     runner.run(riptask)

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list