* morituri/common/program.py:

* morituri/rip/debug.py:
	  Pychecker fixes.
This commit is contained in:
Thomas Vander Stichele
2011-08-14 14:20:06 +00:00
parent 367af25232
commit e60b6d8441
3 changed files with 8 additions and 5 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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)