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

New commits:
commit 452696d3775e0bbf867fc7476373a184c7fc098c
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sat Sep 28 13:44:06 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Mon Sep 30 10:13:08 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
    (cherry picked from commit bda6201f811836c1ef2696b516b8999e268878e9)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/174014
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/pyuno/source/officehelper.py b/pyuno/source/officehelper.py
index 882d0f65531f..9f0ae2a87f50 100644
--- a/pyuno/source/officehelper.py
+++ b/pyuno/source/officehelper.py
@@ -91,7 +91,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