qa/createBlogReport.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
New commits: commit 351f04baa1030b0ba7c1407a08fd82869f615f3c Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Mon Sep 10 16:52:51 2018 +0200 Commit: Xisco Fauli <xiscofa...@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 <xiscofa...@libreoffice.org> AuthorDate: Mon Sep 10 16:42:52 2018 +0200 Commit: Xisco Fauli <xiscofa...@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 _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits