From 059486f5e3d34dd43c49e8ec16cb2429e76e39af Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 26 Jul 2016 00:32:39 +0300 Subject: [PATCH] Use print function for Python 3 compatibility --- test/html2txt.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/html2txt.py b/test/html2txt.py index a15c538..4fa49f8 100755 --- a/test/html2txt.py +++ b/test/html2txt.py @@ -1,4 +1,5 @@ #! /usr/bin/env python +from __future__ import print_function import sys from m_lib.net.www.html import HTMLFilter @@ -10,4 +11,4 @@ filter = HTMLFilter() filter.feed(html) filter.close() -print filter.accumulator +print(filter.accumulator) -- 2.39.5