summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2023-10-18 13:41:41 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2023-10-18 13:41:41 +0200
commitad9fdcbf7ae7f9f6fca0bbafe6f8c53eafe2b17c (patch)
tree4214959c6d9b21e0042102ef1aa3363627b46557
parent69764ef41ddc342c2c74cdc4432f6d0f615ddecd (diff)
esc-reporting: only abandon patches in core project.
For other project the script fails because it doesn't have permission Change-Id: I5dcf9e59461f873480f21bd23f6a7266fbc0b7a5
-rwxr-xr-xesc-reporting/esc-analyze.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/esc-reporting/esc-analyze.py b/esc-reporting/esc-analyze.py
index 2dd329da..8289fceb 100755
--- a/esc-reporting/esc-analyze.py
+++ b/esc-reporting/esc-analyze.py
@@ -787,7 +787,7 @@ def analyze_reports():
if xDate < cfg['1monthDate']:
# gerrit cli sucks and doesn't accept changeset,patchrev but only uses numericID
- if 'A polite ping' in txt:
+ if 'A polite ping' in txt and row['project'] == "core":
automateList['gerrit']['to_abandon_abandon'][entry['id']] = patchset
else:
automateList['gerrit']['to_abandon_comment'][entry['id']] = patchset