Browse Source

Removed useless method

pull/54/head
Louis 10 years ago
parent
commit
d303fcd2f1
  1. 10
      songbook_core/plastex_chord.py

10
songbook_core/plastex_chord.py

@ -83,16 +83,6 @@ class BeginChordOrDisplayMath(BeginDisplayMath):
""" """
macroName = '[' macroName = '['
def digest(self, tokens):
"""Consume the tokens corresponding to the arguments of this macro"""
if IN_VERSE:
for item in tokens:
if item.nodeType == item.TEXT_NODE and item.nodeValue == ']':
break
self.appendChild(item)
else:
return super(BeginChordOrDisplayMath, self).digest(tokens)
def invoke(self, tex): def invoke(self, tex):
"""Process this macro""" """Process this macro"""
if IN_VERSE: if IN_VERSE:

Loading…
Cancel
Save