[SCM] morituri/master: add debug
js at users.alioth.debian.org
js at users.alioth.debian.org
Sun Oct 19 20:09:30 UTC 2014
The following commit has been merged in the master branch:
commit faf18f32f6fbdc9c70be1768332ce11dcfd62b43
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date: Mon May 30 13:08:29 2011 +0000
add debug
diff --git a/morituri/common/program.py b/morituri/common/program.py
index 9d6fe83..d83a4aa 100644
--- a/morituri/common/program.py
+++ b/morituri/common/program.py
@@ -615,10 +615,9 @@ class Program(log.Loggable):
return res
def writeCue(self, discName):
- self.debug('write .cue file')
assert self.result.table.canCue()
-
cuePath = '%s.cue' % discName
+ self.debug('write .cue file to %s', cuePath)
handle = open(cuePath, 'w')
# FIXME: do we always want utf-8 ?
handle.write(self.result.table.cue().encode('utf-8'))
diff --git a/morituri/rip/cd.py b/morituri/rip/cd.py
index ec9aa4f..39b0e7f 100644
--- a/morituri/rip/cd.py
+++ b/morituri/rip/cd.py
@@ -271,6 +271,7 @@ See http://sourceforge.net/tracker/?func=detail&aid=604751&group_id=2171&atid=1
prog.writeCue(discName)
# write .m3u file
+ self.debug('writing m3u file for %r', discName)
m3uPath = u'%s.m3u' % discName
handle = open(m3uPath, 'w')
handle.write(u'#EXTM3U\n')
--
morituri packaging
More information about the pkg-multimedia-commits
mailing list