aboutsummaryrefslogtreecommitdiff
path: root/wiki2texi.py
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-07-30 17:11:56 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-07-30 17:11:56 +0300
commit962837ceee4824e37590366ae6e64ba4293b5831 (patch)
tree7a4210aed3b86686ff014c65dc812e57516e1b3a /wiki2texi.py
parent33911cd4ca1a0ef49b836900f21cd2df4e528f93 (diff)
downloadwit-962837ceee4824e37590366ae6e64ba4293b5831.tar.gz
wit-962837ceee4824e37590366ae6e64ba4293b5831.tar.bz2
Fix Python 3 compatibilityHEADmaster
* 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.
Diffstat (limited to 'wiki2texi.py')
-rw-r--r--wiki2texi.py4
1 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>.
-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

Return to:

Send suggestions and report system problems to the System administrator.