From b645ec3dc5a992fbbaf75550a197386285552a22 Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 17 Jun 2014 00:20:58 +0200 Subject: [PATCH] Changing misleading class name --- songbook_core/plastex_chord.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/songbook_core/plastex_chord.py b/songbook_core/plastex_chord.py index 9ff2fa13..08490d7d 100644 --- a/songbook_core/plastex_chord.py +++ b/songbook_core/plastex_chord.py @@ -25,7 +25,7 @@ def wrap_displaymath(cls): """ # pylint: disable=no-init,too-few-public-methods - class DisplayMath(cls): + class WrappedClass(cls): """Wrapper to LaTeX environment updating IN_VERSE""" blockType = True # pylint: disable=super-on-old-class,global-statement,no-member @@ -36,8 +36,8 @@ def wrap_displaymath(cls): IN_VERSE += 1 else: IN_VERSE -= 1 - super(DisplayMath, self).invoke(tex) - return DisplayMath + super(WrappedClass, self).invoke(tex) + return WrappedClass # pylint: disable=too-many-public-methods @wrap_displaymath