Commit Graph

5 Commits

Author SHA1 Message Date
bdedc84127 Fix "invalid escape sequence \w" Python exceptions
(Like

> Python exception: <class 'SyntaxError'>: invalid escape sequence \w (lightproof_impl_en.py, line 126), traceback follows
>   File "instdir/program/pythonloader.py", line 133, in activate
>     mod = self.getModuleFromUrl( locationUrl )
>   File "instdir/program/pythonloader.py", line 101, in getModuleFromUrl
>     exec(codeobject, mod.__dict__)
>   File "instdir/share/extensions/dict-en/Lightproof.py", line 6, in <module>
>     from lightproof_impl_en import locales
>   File "instdir/program/uno.py", line 345, in _uno_import
>     return _builtin_import(name, *optargs, **kwargs)

I noticed e.g. during UITest_writer_tests3.)  Appears those suspicious escapes
were present ever since 2214a3731aaffc4a51d1c712dbee553a0ba35af0 "Hungarian
sentence checking", 95445a70a29c6a1166a19f483566f2c9cfc7563b "English sentence
checking", and c9cdf3fb4752e8b0c641a3aff15d554135beb0e7 "Add Russian grammar
checking + update English and Hungarian".

Change-Id: Ia2af7e0adb00b4737b22d460dd75fa47a4ae70d5
Reviewed-on: https://gerrit.libreoffice.org/c/dictionaries/+/99047
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-07-20 20:25:17 +02:00
38b1410ca6 fix LightProof measurement conversion for Python 3
Change-Id: I6d36bc804271956e1c8649df0832615311fcf5e1
2014-05-15 13:06:22 +02:00
350dc590b0 fdo#60139: Rename bundled extensions's Lightproof service implementation names
... from org.openoffice.comp.pyuno.Lightproof... to
org.libreoffice.comp.pyuno.Lightproof... (and increment the corresponding
extensions' version numbers) to avoid clashes with any freestanding Lightproof
extension.
2013-02-08 09:20:29 +01:00
8be323a6b7 Python 3 port of Lightproof en/hu modules 2012-11-30 17:29:41 +01:00
a4473e06b5 move dictionaries structure one directory up
Change-Id: I70388bf6b95d8692cc6f25fc5a9c7baf3a675710
2012-10-16 11:09:27 -05:00