forked from openlp/openlp
Pick a new variable name
This commit is contained in:
parent
e3d523042b
commit
530ac62f32
@ -681,14 +681,14 @@ class OpenLyrics(object):
|
|||||||
unicode(translate('OpenLP.OpenLyricsImportError',
|
unicode(translate('OpenLP.OpenLyricsImportError',
|
||||||
'<lyrics> tag is missing.')))
|
'<lyrics> tag is missing.')))
|
||||||
try:
|
try:
|
||||||
verses = lyrics.verse
|
verse_list = lyrics.verse
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
raise OpenLyricsError(OpenLyricsError.VerseError,
|
raise OpenLyricsError(OpenLyricsError.VerseError,
|
||||||
'<verse> tag is missing.',
|
'<verse> tag is missing.',
|
||||||
unicode(translate('OpenLP.OpenLyricsImportError',
|
unicode(translate('OpenLP.OpenLyricsImportError',
|
||||||
'<verse> tag is missing.')))
|
'<verse> tag is missing.')))
|
||||||
# Loop over the "verse" elements.
|
# Loop over the "verse" elements.
|
||||||
for verse in verses:
|
for verse in verse_list:
|
||||||
text = u''
|
text = u''
|
||||||
# Loop over the "lines" elements.
|
# Loop over the "lines" elements.
|
||||||
for lines in verse.lines:
|
for lines in verse.lines:
|
||||||
|
Loading…
Reference in New Issue
Block a user