Skip to content

Commit

Permalink
Fix two flake8 errors
Browse files Browse the repository at this point in the history
Signed-off-by: JoeLametta <[email protected]>
  • Loading branch information
JoeLametta committed May 29, 2020
1 parent 86fa4a3 commit 752162a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions whipper/extern/task/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ def addListener(self, listener):

def _notifyListeners(self, methodName, *args, **kwargs):
if self._listeners:
for l in self._listeners:
method = getattr(l, methodName)
for listener in self._listeners:
method = getattr(listener, methodName)
try:
method(self, *args, **kwargs)
# FIXME: catching too general exception (Exception)
Expand Down
2 changes: 1 addition & 1 deletion whipper/test/test_image_toc.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def testMusicBrainz(self):
self.assertEqual(self.toc.table.getMusicBrainzDiscId(),
"KnpGsLhvH.lPrNc1PBL21lb9Bg4-")
self.assertEqual(self.toc.table.getMusicBrainzSubmitURL(),
"https://musicbrainz.org/cdtoc/attach?toc=1+12+195856+150+15687+31841+51016+66616+81352+99559+116070+133243+149997+161710+177832&tracks=12&id=KnpGsLhvH.lPrNc1PBL21lb9Bg4-") # noqa: E501
"https://musicbrainz.org/cdtoc/attach?toc=1+12+195856+150+15687+31841+51016+66616+81352+99559+116070+133243+149997+161710+177832&tracks=12&id=KnpGsLhvH.lPrNc1PBL21lb9Bg4-") # noqa: E501

# FIXME: I don't trust this toc, but I can't find the CD anymore

Expand Down

0 comments on commit 752162a

Please sign in to comment.