Skip to content

Commit

Permalink
revised to fix flake8 warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
bartkl committed Jun 13, 2017
1 parent 2465898 commit 762f9ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions beets/ui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,7 @@ def show_path_changes(path_changes):

# Helper functions for option parsing.


def _store_dict(option, opt_str, value, parser):
"""Custom action callback to parse options which have ``key=value``
pairs as values. All such pairs passed for this option are
Expand Down
4 changes: 2 additions & 2 deletions test/test_importer.py
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ def test_set_fields(self):
self.importer.run()

for item in self.lib.items():
item.load() # TODO: Not sure this is necessary.
item.load() # TODO: Not sure this is necessary.
self.assertEqual(item.genre, genre)
self.assertEqual(item.collection, collection)
# Remove item from library to test again with APPLY choice.
Expand Down Expand Up @@ -719,7 +719,7 @@ def test_set_fields(self):
self.importer.run()

for album in self.lib.albums():
album.load() # TODO: Not sure this is necessary.
album.load() # TODO: Not sure this is necessary.
self.assertEqual(album.genre, genre)
self.assertEqual(album.collection, collection)
# Remove album from library to test again with APPLY choice.
Expand Down

0 comments on commit 762f9ca

Please sign in to comment.