* morituri/common/program.py:
* morituri/rip/debug.py: Pychecker fixes.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2011-08-14 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* morituri/common/program.py:
|
||||
* morituri/rip/debug.py:
|
||||
Pychecker fixes.
|
||||
|
||||
2011-08-14 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* TODO:
|
||||
|
||||
@@ -355,7 +355,7 @@ class Program(log.Loggable):
|
||||
ret = None
|
||||
|
||||
metadatas = None
|
||||
for i in range(0, 4):
|
||||
for _ in range(0, 4):
|
||||
try:
|
||||
metadatas = musicbrainz(mbdiscid)
|
||||
except MusicBrainzException, e:
|
||||
|
||||
@@ -28,10 +28,6 @@ class Checksum(logcommand.LogCommand):
|
||||
|
||||
summary = "run a checksum task"
|
||||
|
||||
def addOptions(self):
|
||||
# here to avoid import gst eating our options
|
||||
from morituri.common import checksum
|
||||
|
||||
def do(self, args):
|
||||
try:
|
||||
fromPath = unicode(args[0])
|
||||
@@ -41,6 +37,7 @@ class Checksum(logcommand.LogCommand):
|
||||
|
||||
runner = task.SyncRunner()
|
||||
|
||||
# here to avoid import gst eating our options
|
||||
from morituri.common import checksum
|
||||
checksumtask = checksum.CRC32Task(fromPath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user