Remove old, commented out code
Some of this seems to be debug code which has been left in, some of it seems to just be old code that was commented out and never put back in and probably just forgotten about. Either way, we use git for a reason, so there's no need for these code snippets to stick around. The code history can be inspected and old code retrieved that way.
This commit is contained in:
@@ -281,8 +281,6 @@ class Table(object):
|
||||
# CD's have a standard lead-in time of 2 seconds
|
||||
# which gets added for CDDB disc id's
|
||||
delta = 2 * common.FRAMES_PER_SECOND
|
||||
#if self.getTrackStart(1) > 0:
|
||||
# delta = 0
|
||||
|
||||
debug = [str(len(self.tracks))]
|
||||
for track in self.tracks:
|
||||
@@ -293,7 +291,6 @@ class Table(object):
|
||||
n += self._cddbSum(seconds)
|
||||
|
||||
# the 'real' leadout, not offset by 150 frames
|
||||
# print 'THOMAS: disc leadout', self.leadout
|
||||
last = self.tracks[-1]
|
||||
leadout = self.getTrackEnd(last.number) + 1
|
||||
logger.debug('leadout LBA: %d', leadout)
|
||||
@@ -369,7 +366,6 @@ class Table(object):
|
||||
try:
|
||||
offset = values[2 + i]
|
||||
except IndexError:
|
||||
#print 'track', i - 1, '0 offset'
|
||||
offset = 0
|
||||
sha.update("%08X" % offset)
|
||||
|
||||
@@ -727,7 +723,6 @@ class Table(object):
|
||||
# the first cut is the deepest
|
||||
counter = index.counter
|
||||
|
||||
#for t in self.tracks: print t, t.indexes
|
||||
logger.debug('absolutizing')
|
||||
while True:
|
||||
track = self.tracks[t - 1]
|
||||
|
||||
Reference in New Issue
Block a user