From 60dc075e3b6786d6b5cdf10d91be974bdecc89d8 Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Thu, 25 Sep 2014 21:46:09 +0100 Subject: [PATCH] pep8 fix --- openlp/plugins/songs/lib/openlyricsxml.py | 3 ++- tests/functional/openlp_plugins/songs/test_openlyricsimport.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/openlp/plugins/songs/lib/openlyricsxml.py b/openlp/plugins/songs/lib/openlyricsxml.py index 01c6cf50e..cab51093c 100644 --- a/openlp/plugins/songs/lib/openlyricsxml.py +++ b/openlp/plugins/songs/lib/openlyricsxml.py @@ -594,7 +594,8 @@ class OpenLyrics(object): if new_tags: FormattingTags.add_html_tags(new_tags) if not temporary: - custom_tags = [tag for tag in FormattingTags.get_html_tags() if not tag['protected'] and not tag['temporary']] + custom_tags = [tag for tag in FormattingTags.get_html_tags() + if not tag['protected'] and not tag['temporary']] FormattingTags.save_html_tags(custom_tags) def _process_lines_mixed_content(self, element, newlines=True): diff --git a/tests/functional/openlp_plugins/songs/test_openlyricsimport.py b/tests/functional/openlp_plugins/songs/test_openlyricsimport.py index b782a14ba..d7ba07beb 100644 --- a/tests/functional/openlp_plugins/songs/test_openlyricsimport.py +++ b/tests/functional/openlp_plugins/songs/test_openlyricsimport.py @@ -86,7 +86,6 @@ class TestOpenLyricsImport(TestCase, TestMixin): self.get_application() Registry.create() self.build_settings() - #Settings().extend_default_settings(__default_settings__) def tearDown(self): """