pychecker cleanup

This commit is contained in:
Thomas Vander Stichele
2009-06-07 13:46:26 +00:00
parent 662c14cf6f
commit d75066d1bb
6 changed files with 3 additions and 9 deletions

View File

@@ -151,7 +151,7 @@ class AudioLengthTask(task.Task):
try:
length, format = sink.query_duration(gst.FORMAT_DEFAULT)
except gst.QueryError, e:
except gst.QueryError:
print 'failed to query %s' % self._path
# wavparse 0.10.14 returns in bytes
if format == gst.FORMAT_BYTES:

View File

@@ -144,7 +144,7 @@ class Table(object, log.Loggable):
catalog = None # catalog number; FIXME: is this UPC ?
cdtext = None
classVersion = 1
classVersion = 2
def __init__(self, tracks=None):
if not tracks: