[Libreoffice-commits] dev-tools.git: 2 commits - qa/createBlogReport.py
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Mon Sep 10 14:53:52 UTC 2018
qa/createBlogReport.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 351f04baa1030b0ba7c1407a08fd82869f615f3c
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Mon Sep 10 16:52:51 2018 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Mon Sep 10 16:52:51 2018 +0200
QA: Check arg 1 is older than arg 2
diff --git a/qa/createBlogReport.py b/qa/createBlogReport.py
index 75c850a..085048b 100755
--- a/qa/createBlogReport.py
+++ b/qa/createBlogReport.py
@@ -337,6 +337,10 @@ if __name__ == '__main__':
" argument and the ending date as second argument")
args=parser.parse_args()
+ if args.Date[0] >= args.Date[1]:
+ print('Argument 1 must be older than argument 2... Closing!!')
+ exit()
+
print("Reading and writing data from " + common.dataDir)
bugzillaData = common.get_bugzilla()
commit ab690712889adda2f287f8ae846f91161d95372c
Author: Xisco Fauli <xiscofauli at libreoffice.org>
AuthorDate: Mon Sep 10 16:42:52 2018 +0200
Commit: Xisco Fauli <xiscofauli at libreoffice.org>
CommitDate: Mon Sep 10 16:42:52 2018 +0200
QA: decrease count only if the bug is moved back to open
diff --git a/qa/createBlogReport.py b/qa/createBlogReport.py
index 99a8246..75c850a 100755
--- a/qa/createBlogReport.py
+++ b/qa/createBlogReport.py
@@ -160,7 +160,7 @@ def analyze_bugzilla_data(statList, bugzillaData, cfg):
authorVerified = actionMail
isVerified = True
- elif removedStatus == 'VERIFIED' and isVerified:
+ elif removedStatus == 'VERIFIED' and isVerified and common.isOpen(addedStatus):
util_decrease_action(statList['verified'], authorVerified, dayVerified)
isVerified = False
More information about the Libreoffice-commits
mailing list