summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2018-08-17 13:32:18 +0300
committerSergey Poznyakoff <gray@gnu.org>2018-08-17 13:32:18 +0300
commitf566ec604f8753f869119389072a023cd4909e7f (patch)
treefd71144b902ad393448856f4c73847a66327e960
parent7186dbab7f1c1227e9229866e086bc417e3e4e52 (diff)
downloadwikitrans-f566ec604f8753f869119389072a023cd4909e7f.tar.gz
wikitrans-f566ec604f8753f869119389072a023cd4909e7f.tar.bz2
Fix old module names in bin/wikitrans
-rwxr-xr-xbin/wikitrans12
-rw-r--r--setup.py2
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/setup.py b/setup.py
index 2052565..0e94133 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@ with open("README.rst", "r") as fh:
long_description = fh.read()
setup(name='wikitrans',
- version='0.5.1',
+ version='0.5.2',
author='Sergey Poznyakoff',
author_email='gray@gnu.org',
url='http://www.gnu.org.ua/projects/wikitrans',

Return to:

Send suggestions and report system problems to the System administrator.