X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/bddf82ce5ec2a7c34b6b14d3bdb6c4cf24af7388..9c3ec340c866d7382a53bcbb6afae839c31152fb:/librarian/hyphenator.py?ds=sidebyside

diff --git a/librarian/hyphenator.py b/librarian/hyphenator.py
index 18d402b..aa5b4c3 100644
--- a/librarian/hyphenator.py
+++ b/librarian/hyphenator.py
@@ -14,6 +14,7 @@ info@wilbertberendsen.nl
 License: LGPL.
 
 """
+from __future__ import print_function, unicode_literals
 
 import sys
 import re
@@ -235,5 +236,5 @@ if __name__ == "__main__":
     h = Hyphenator(dict_file, left=1, right=1)
 
     for i in h(word):
-        print i
+        print(i)