From 962837ceee4824e37590366ae6e64ba4293b5831 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 30 Jul 2018 17:11:56 +0300 Subject: Fix Python 3 compatibility * test.py: Prepend parent dir to the sys.path * wiki2html.py: Use absolute imports * wiki2texi.py: Likewise. * wiki2text.py: Likewise. (url_quote): Import from the appropriate module. * wikimarkup.py: Make sure the object being split is a string. --- wiki2texi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wiki2texi.py') diff --git a/wiki2texi.py b/wiki2texi.py index 6e32c56..4ce32f9 100644 --- a/wiki2texi.py +++ b/wiki2texi.py @@ -15,8 +15,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from wikimarkup import * -from wikins import wiki_ns_re, wiki_ns +from wit.wikimarkup import * +from wit.wikins import wiki_ns_re, wiki_ns import re import urllib -- cgit v1.2.1