From 797f4cafe186f07233c42a7344560515d6565e7b Mon Sep 17 00:00:00 2001 From: Luthaf Date: Fri, 23 May 2014 19:18:21 +0100 Subject: [PATCH] Nettoyage --- songbook_core/build.py | 1 - songbook_core/songs.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/songbook_core/build.py b/songbook_core/build.py index 6a4a91d4..9adaa79d 100644 --- a/songbook_core/build.py +++ b/songbook_core/build.py @@ -154,7 +154,6 @@ class Songbook(object): context['filename'] = output.name[:-4] self._set_songs_default(context) - print(self.contentlist.content) renderer.render_tex(output, context) diff --git a/songbook_core/songs.py b/songbook_core/songs.py index 19d732af..5446903d 100644 --- a/songbook_core/songs.py +++ b/songbook_core/songs.py @@ -108,7 +108,7 @@ class SongbookContent(object): data = parsetex(filename) song = Song(filename, data['languages'], data['titles'], data['args']) self.content.append(("song", song)) - + def append(self, type, value): """ Append a generic element to the content list""" self.content.append((type, value))