* morituri/rip/cd.py:

Fix warning against rebuilt package.
This commit is contained in:
Thomas Vander Stichele
2009-09-06 18:04:21 +00:00
parent 402c3c019a
commit 2efcb21a63
2 changed files with 11 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
2009-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
* morituri/rip/cd.py:
Fix warning against rebuilt package.
2009-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
* README:

View File

@@ -90,8 +90,12 @@ class Rip(logcommand.LogCommand):
function(runner, t)
version = t.tasks[1].parser.version
from pkg_resources import parse_version as V
if V(version) <= V('1.2.3'):
print 'Warning: cdrdao 1.2.3 and older have a pre-gap length bug.'
# we've built a cdrdao 1.2.3rc2 modified package with the patch
if V(version) < V('1.2.3rc2p1'):
print '''
Warning: cdrdao older than 1.2.3 has a pre-gap length bug.
See http://sourceforge.net/tracker/?func=detail&aid=604751&group_id=2171&atid=102171
'''
ptoc.persist(t.table)
ittoc = ptoc.object
assert ittoc.hasTOC()