From d6617aaf016ff992b7df9eac344d5bc985e95f5b Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 4 Mar 2014 13:55:06 +0100 Subject: [PATCH] typo #12 --- songbook_core/index.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/songbook_core/index.py b/songbook_core/index.py index bc25bf1c..c4b0d634 100644 --- a/songbook_core/index.py +++ b/songbook_core/index.py @@ -167,10 +167,10 @@ class Index(object): def entry_to_str(self, key, entry): """Return the LaTeX code corresponding to the entry.""" - return unicode(r'\idxentry{{{0}}}{{{1}}}' + EOL).format( - key, - r'\\'.join([self.ref_to_str(ref) for ref in entry]), - ) + return unicode(r'\idxentry{{{0}}}{{{1}}}' + EOL).format( + key, + r'\\'.join([self.ref_to_str(ref) for ref in entry]), + ) def idxblock_to_str(self, letter, entries): """Return the LaTeX code corresponding to an index block.