diff options
author | László Németh <nemeth@numbertext.org> | 2012-12-03 17:35:07 +0100 |
---|---|---|
committer | László Németh <nemeth@numbertext.org> | 2012-12-03 17:35:07 +0100 |
commit | 1595bf11e295d96123fcb327ba9919307aa5b127 (patch) | |
tree | ef1eb04e05a2efa1d79688e3834f61ea97eff449 | |
parent | c8d1509a60f2aa93ae47c33252fcb95c6691f4b3 (diff) |
Python 3 port of ru-RU grammar checkerlibreoffice-4-0-branch-point
-rw-r--r-- | ru_RU/pythonpath/lightproof_impl_ru_RU.py | 3 |
1 files changed, 1 insertions, 2 deletions
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 |