authorSergey Poznyakoff <>2018-08-17 10:32:18 (GMT)
committer Sergey Poznyakoff <>2018-08-17 10:32:18 (GMT)
commitf566ec604f8753f869119389072a023cd4909e7f (patch) (side-by-side diff)
parent7186dbab7f1c1227e9229866e086bc417e3e4e52 (diff)
Fix old module names in bin/wikitrans
Diffstat (more/less context) (ignore whitespace changes)
2 files changed, 7 insertions, 7 deletions
diff --git a/bin/wikitrans b/bin/wikitrans
index c2ed4d3..adf779d 100755
--- a/bin/wikitrans
+++ b/bin/wikitrans
@@ -26,11 +26,11 @@ try:
from StringIO import StringIO
except ImportError:
from io import StringIO
-from WikiTrans.wiki2html import HtmlWikiMarkup, HtmlWiktionaryMarkup
-from WikiTrans.wiki2text import TextWikiMarkup, TextWiktionaryMarkup
-from WikiTrans.wiki2texi import TexiWikiMarkup
-from WikiTrans.wikimarkup import WikiMarkup
-from WikiTrans.wikidump import DumpWikiMarkup
+from wikitrans.wiki2html import HtmlWikiMarkup, HtmlWiktionaryMarkup
+from wikitrans.wiki2text import TextWikiMarkup, TextWiktionaryMarkup
+from wikitrans.wiki2texi import TexiWikiMarkup
+from wikitrans.wikimarkup import WikiMarkup
+from wikitrans.wikidump import DumpWikiMarkup
# Set utf-8 as the default encoding for Python 2.7.
# Trying to do so using encode('utf_8')/unicode, which is
@@ -118,7 +118,7 @@ Otherwise, ARG is name of the file to read wiki material from.
help='set output document type ("html" (default), "texi" or "text")')
parser.add_option('-l', '--lang',
action='store', type='string', dest='lang',
- default='pl',
+ default='en',
help='set input document language')
parser.add_option('-o', '--option',
action='callback', callback=setkw,
diff --git a/ b/
index 2052565..0e94133 100644
--- a/
+++ b/
@@ -22,7 +22,7 @@ with open("README.rst", "r") as fh:
long_description =
- version='0.5.1',
+ version='0.5.2',
author='Sergey Poznyakoff',

Return to:

Send suggestions and report system problems to the System administrator.