From c06d1a486605361e22c523bdbd57195d49bf5dbf Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Tue, 9 Feb 2016 17:31:09 +0100 Subject: [PATCH] transform_options is private --- patacrep/templates.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patacrep/templates.py b/patacrep/templates.py index f745a58e..e0a7b8bc 100644 --- a/patacrep/templates.py +++ b/patacrep/templates.py @@ -264,7 +264,7 @@ class TexBookRenderer(Renderer): output.write(self.template.render(context)) -def transform_options(config, equivalents): +def _transform_options(config, equivalents): """ Get the equivalent name of the checked options """ @@ -285,14 +285,14 @@ def iter_bookoptions(config): 'pictures': 'pictures', 'onesongperpage': 'onesongperpage', } - yield from transform_options(config['book'], book_equivalents) + yield from _transform_options(config['book'], book_equivalents) chords_equivalents = { 'lilypond': 'lilypond', 'tablatures': 'tabs', 'repeatchords': 'repeatchords', } - yield from transform_options(config['chords'], chords_equivalents) + yield from _transform_options(config['chords'], chords_equivalents) if config['chords']['show']: if config['chords']['diagramreminder'] == "important":