forked from openlp/openlp
remove empty lines
This commit is contained in:
parent
85813a1f99
commit
217ed36ee1
@ -748,12 +748,10 @@ class EditSongForm(QtGui.QDialog, Ui_EditSongDialog):
|
|||||||
True if the function can't find any mismatched tags
|
True if the function can't find any mismatched tags
|
||||||
False if there are mismatched tags.
|
False if there are mismatched tags.
|
||||||
"""
|
"""
|
||||||
if len(_tags) % 2 != 0:
|
|
||||||
return False
|
|
||||||
|
|
||||||
if len(_tags) == 0:
|
if len(_tags) == 0:
|
||||||
return True
|
return True
|
||||||
|
if len(_tags) % 2 != 0:
|
||||||
|
return False
|
||||||
for i in range(len(_tags)-1):
|
for i in range(len(_tags)-1):
|
||||||
if _tags[i+1] == "{/" + _tags[i][1:]:
|
if _tags[i+1] == "{/" + _tags[i][1:]:
|
||||||
del _tags[i:i+2]
|
del _tags[i:i+2]
|
||||||
|
Loading…
Reference in New Issue
Block a user