From a52ffdb48348fbb018cc4b4d1ea84f2eaf8b0c0d Mon Sep 17 00:00:00 2001 From: "s.mehrbrodt@gmail.com" Date: Mon, 22 Jul 2013 22:27:51 +0200 Subject: [PATCH] Fix indentation --- openlp/plugins/songs/forms/editsongform.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/openlp/plugins/songs/forms/editsongform.py b/openlp/plugins/songs/forms/editsongform.py index b86606e1c..9492eba44 100644 --- a/openlp/plugins/songs/forms/editsongform.py +++ b/openlp/plugins/songs/forms/editsongform.py @@ -170,15 +170,14 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog): invalid_verses.append(order_names[count]) if invalid_verses: valid = create_separated_list(verse_names) - invalid = u', '.join(invalid_verses) if len(invalid_verses) > 1 else invalid_verses[0] if len(invalid_verses) > 1: - msg = translate('SongsPlugin.EditSongForm', 'There are no verses corresponding to "%(invalid)s".\ -Valid entries are %(valid)s.\nPlease enter the verses seperated by spaces.') %{'invalid' : u', '.join(invalid_verses), - 'valid' : valid} + msg = translate('SongsPlugin.EditSongForm', 'There are no verses corresponding to "%(invalid)s".' + 'Valid entries are %(valid)s.\nPlease enter the verses seperated by spaces.') \ + % {'invalid' : u', '.join(invalid_verses), 'valid' : valid} else: - msg = translate('SongsPlugin.EditSongForm', 'There is no verse corresponding to "%(invalid)s".\ -Valid entries are %(valid)s.\nPlease enter the verses seperated by spaces.') %{'invalid' : invalid_verses[0], - 'valid' : valid} + msg = translate('SongsPlugin.EditSongForm', 'There is no verse corresponding to "%(invalid)s".' + 'Valid entries are %(valid)s.\nPlease enter the verses seperated by spaces.') \ + % {'invalid' : invalid_verses[0], 'valid' : valid} critical_error_message_box(title=translate('SongsPlugin.EditSongForm', 'Invalid Verse Order'), message=msg) return len(invalid_verses) == 0