summaryrefslogtreecommitdiffstats
path: root/bin/crashreportScraper.py
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2022-08-09 11:50:24 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-08-09 14:05:40 +0200
commita9a6ec313be4787f99cece793f069f61a8ee73b2 (patch)
treeb17781c87040182a3a83e81f413bfd660bf4ec71 /bin/crashreportScraper.py
parentunique_ptr->optional in SwAutoCorrDoc (diff)
downloadcore-a9a6ec313be4787f99cece793f069f61a8ee73b2.tar.gz
core-a9a6ec313be4787f99cece793f069f61a8ee73b2.zip
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 <xiscofauli@libreoffice.org>
Diffstat (limited to 'bin/crashreportScraper.py')
-rwxr-xr-xbin/crashreportScraper.py2
1 files changed, 1 insertions, 1 deletions
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