pyuno/source/officehelper.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bda6201f811836c1ef2696b516b8999e268878e9
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sat Sep 28 13:44:06 2024 +0200
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sun Sep 29 20:17:13 2024 +0200

    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 <serval2...@yahoo.fr>
    Tested-by: Jenkins

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

Reply via email to