Commit ada67ec3 authored by Guido van Rossum's avatar Guido van Rossum

Comment out debug prints (by Sjoerd)

parent b66efa0d
...@@ -7,7 +7,7 @@ _Stop = 'Readcd.Stop' ...@@ -7,7 +7,7 @@ _Stop = 'Readcd.Stop'
def _doatime(self, type, data): def _doatime(self, type, data):
if ((data[0] * 60) + data[1]) * 75 + data[2] > self.end: if ((data[0] * 60) + data[1]) * 75 + data[2] > self.end:
print 'done with list entry',`self.listindex` ## print 'done with list entry',`self.listindex`
raise _Stop raise _Stop
func, arg = self.callbacks[type] func, arg = self.callbacks[type]
if func: if func:
...@@ -15,7 +15,7 @@ def _doatime(self, type, data): ...@@ -15,7 +15,7 @@ def _doatime(self, type, data):
def _dopnum(self, type, data): def _dopnum(self, type, data):
if data > self.end: if data > self.end:
print 'done with list entry',`self.listindex` ## print 'done with list entry',`self.listindex`
raise _Stop raise _Stop
func, arg = self.callbacks[type] func, arg = self.callbacks[type]
if func: if func:
...@@ -48,7 +48,7 @@ class Readcd(): ...@@ -48,7 +48,7 @@ class Readcd():
self.status = None self.status = None
self.trackinfo = None self.trackinfo = None
if self.playing: if self.playing:
print 'stop playing from eject' ## print 'stop playing from eject'
raise _Stop raise _Stop
def pmsf2msf(self, track, min, sec, frame): def pmsf2msf(self, track, min, sec, frame):
...@@ -199,7 +199,7 @@ class Readcd(): ...@@ -199,7 +199,7 @@ class Readcd():
if self.listindex >= len(self.list): if self.listindex >= len(self.list):
return return
start, end = self.list[self.listindex] start, end = self.list[self.listindex]
print 'starting with',`(start, end)` ## print 'starting with',`(start, end)`
try: try:
min, sec, frame = start min, sec, frame = start
dummy = self.player.seek(min, sec, frame) dummy = self.player.seek(min, sec, frame)
......
...@@ -7,7 +7,7 @@ _Stop = 'Readcd.Stop' ...@@ -7,7 +7,7 @@ _Stop = 'Readcd.Stop'
def _doatime(self, type, data): def _doatime(self, type, data):
if ((data[0] * 60) + data[1]) * 75 + data[2] > self.end: if ((data[0] * 60) + data[1]) * 75 + data[2] > self.end:
print 'done with list entry',`self.listindex` ## print 'done with list entry',`self.listindex`
raise _Stop raise _Stop
func, arg = self.callbacks[type] func, arg = self.callbacks[type]
if func: if func:
...@@ -15,7 +15,7 @@ def _doatime(self, type, data): ...@@ -15,7 +15,7 @@ def _doatime(self, type, data):
def _dopnum(self, type, data): def _dopnum(self, type, data):
if data > self.end: if data > self.end:
print 'done with list entry',`self.listindex` ## print 'done with list entry',`self.listindex`
raise _Stop raise _Stop
func, arg = self.callbacks[type] func, arg = self.callbacks[type]
if func: if func:
...@@ -48,7 +48,7 @@ class Readcd(): ...@@ -48,7 +48,7 @@ class Readcd():
self.status = None self.status = None
self.trackinfo = None self.trackinfo = None
if self.playing: if self.playing:
print 'stop playing from eject' ## print 'stop playing from eject'
raise _Stop raise _Stop
def pmsf2msf(self, track, min, sec, frame): def pmsf2msf(self, track, min, sec, frame):
...@@ -199,7 +199,7 @@ class Readcd(): ...@@ -199,7 +199,7 @@ class Readcd():
if self.listindex >= len(self.list): if self.listindex >= len(self.list):
return return
start, end = self.list[self.listindex] start, end = self.list[self.listindex]
print 'starting with',`(start, end)` ## print 'starting with',`(start, end)`
try: try:
min, sec, frame = start min, sec, frame = start
dummy = self.player.seek(min, sec, frame) dummy = self.player.seek(min, sec, frame)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment