summaryrefslogtreecommitdiff
path: root/pyuno
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2024-09-28 13:44:06 +0200
committerJulien Nabet <serval2412@yahoo.fr>2024-09-29 20:17:13 +0200
commitbda6201f811836c1ef2696b516b8999e268878e9 (patch)
tree4a6f62acda018b503860d9b3ab34bb659146416a /pyuno
parentb566dab48c1448dbc5442b30396e9f6c482f2408 (diff)
tdf#163190: [pyuno] SyntaxWarning: invalid escape sequence '\P'
Use raw string to fix this. Regression from d8978a8c4ffabd6b36a691fd3e2df68563808234 tdf#116156 tdf#157162 tdf#159528 Fix glitches in officehelper.py Change-Id: I6f68fdc5988c05b41dc91619947d0d97d04bc739 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174108 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'pyuno')
-rw-r--r--pyuno/source/officehelper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyuno/source/officehelper.py b/pyuno/source/officehelper.py
index db32e2c80bd2..ef2657fa304e 100644
--- a/pyuno/source/officehelper.py
+++ b/pyuno/source/officehelper.py
@@ -98,7 +98,7 @@ def retry(delays=(0, 1, 5, 30, 180, 600, 3600),
def bootstrap(soffice=None, delays=(1, 3, 5, 7), report=lambda *args: None):
# 4 connection attempts; sleeping 1, 3, 5 and 7 seconds
# no report to console
- """Bootstrap PyUNO Runtime.
+ r"""Bootstrap PyUNO Runtime.
The soffice process is started opening a named pipe of random name,
then the local context is used to access the pipe. This function
directly returns the remote component context, from whereon you can