ru_RU/pythonpath/lightproof_impl_ru_RU.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 1595bf11e295d96123fcb327ba9919307aa5b127 Author: László Németh <[email protected]> Date: Mon Dec 3 17:35:07 2012 +0100 Python 3 port of ru-RU grammar checker diff --git a/ru_RU/pythonpath/lightproof_impl_ru_RU.py b/ru_RU/pythonpath/lightproof_impl_ru_RU.py index 68e8f56..0537d24 100644 --- a/ru_RU/pythonpath/lightproof_impl_ru_RU.py +++ b/ru_RU/pythonpath/lightproof_impl_ru_RU.py @@ -1,6 +1,5 @@ # -*- encoding: UTF-8 -*- import uno, re, sys, os, traceback -from string import join from com.sun.star.text.TextMarkupType import PROOFREADING from com.sun.star.beans import PropertyValue @@ -119,7 +118,7 @@ def suggest(rLoc, word): if not x: return word t = x.getAlternatives() - suggestions[word] = join(t, "\\n") + suggestions[word] = "\\n".join(t) return suggestions[word] # get the nth word of the input string or None
_______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
