X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=m_librarian%2Fglst.py;h=f639c1b3b6d4cb58bb6c1e58e3262336376845e4;hb=061a45aba1f91ec167eb9ac283a4c0a0afb52798;hp=a4ac27d723b4b991ea70b1d6c625f7e1b91de224;hpb=f29edf3e09805c843b4e8b54ba0fbfdfaafd55d7;p=m_librarian.git diff --git a/m_librarian/glst.py b/m_librarian/glst.py index a4ac27d..f639c1b 100755 --- a/m_librarian/glst.py +++ b/m_librarian/glst.py @@ -1,5 +1,6 @@ #! /usr/bin/env python +from __future__ import print_function import codecs import os from sqlobject import sqlhub, SQLObjectNotFound @@ -58,7 +59,7 @@ def import_glst(): def test(): ml_dir = os.path.dirname(__file__) - print parse_glst_file(os.path.join(ml_dir, 'glst', 'genres_fb2.glst')) + print(parse_glst_file(os.path.join(ml_dir, 'glst', 'genres_fb2.glst'))) if __name__ == '__main__': test()