From b994f91d353b0444f9418eb8837e4f4b657a7021 Mon Sep 17 00:00:00 2001 From: Oliverpool Date: Mon, 27 Jun 2016 09:15:23 +0200 Subject: [PATCH] (pylint) fix --- patacrep/latex/syntax.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patacrep/latex/syntax.py b/patacrep/latex/syntax.py index 7c76fbe2..b6daefd0 100644 --- a/patacrep/latex/syntax.py +++ b/patacrep/latex/syntax.py @@ -1,8 +1,8 @@ """Very simple LaTeX parser""" import logging -import ply.yacc as yacc from functools import lru_cache +import ply.yacc as yacc from patacrep.latex import ast from patacrep.latex.detex import detex @@ -223,9 +223,9 @@ def tex2plain(string): """Parse string and return its plain text version.""" return detex( latex_yacc().parse( - string, - lexer=SimpleLexer().lexer, - ) + string, + lexer=SimpleLexer().lexer, + ) ) def parse_song(content, filename=None):