bin/crashreportScraper.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit a9a6ec313be4787f99cece793f069f61a8ee73b2
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Tue Aug 9 11:50:24 2022 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Aug 9 14:05:40 2022 +0200

    crashreportScraper: replace quation marks from code
    
    otherwise, the csv is imported incorrectly
    
    Change-Id: I5451516b2fdc80a96a4fde83a2c72d701bfd995a
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138009
    Tested-by: Jenkins
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>

diff --git a/bin/crashreportScraper.py b/bin/crashreportScraper.py
index b0ab5f5bd5f9..7d57ab1f747b 100755
--- a/bin/crashreportScraper.py
+++ b/bin/crashreportScraper.py
@@ -149,7 +149,7 @@ def parse_details_and_get_info(url, gitRepo):
                     lines = f.readlines()
                     for index, line in enumerate(lines):
                         if index + 1 == int(codeNumber):
-                            codeLine += line.strip() + "\n"
+                            codeLine += line.strip().replace("\"", "'") + "\n"
             except FileNotFoundError:
                 codeLine += "\n"
                 continue

Reply via email to