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',
|
||||
'<lyrics> tag is missing.')))
|
||||
try:
|
||||
verses = lyrics.verse
|
||||
verse_list = lyrics.verse
|
||||
except AttributeError:
|
||||
raise OpenLyricsError(OpenLyricsError.VerseError,
|
||||
'<verse> tag is missing.',
|
||||
unicode(translate('OpenLP.OpenLyricsImportError',
|
||||
'<verse> tag is missing.')))
|
||||
# Loop over the "verse" elements.
|
||||
for verse in verses:
|
||||
for verse in verse_list:
|
||||
text = u''
|
||||
# Loop over the "lines" elements.
|
||||
for lines in verse.lines:
|
||||
|
Loading…
Reference in New Issue
Block a user