diff --git a/ChangeLog b/ChangeLog index c331b9c..48a3bfb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-08-14 Thomas Vander Stichele + + * morituri/common/program.py: + * morituri/rip/debug.py: + Pychecker fixes. + 2011-08-14 Thomas Vander Stichele * TODO: diff --git a/morituri/common/program.py b/morituri/common/program.py index cfa1e22..e585457 100644 --- a/morituri/common/program.py +++ b/morituri/common/program.py @@ -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: diff --git a/morituri/rip/debug.py b/morituri/rip/debug.py index 116c089..8e076d4 100644 --- a/morituri/rip/debug.py +++ b/morituri/rip/debug.py @@ -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)