esc-reporting/qa-tools.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 90373da32b2e7582fa66f7cbfe611e8dd6cf4ebc Author: Xisco Fauli <aniste...@gmail.com> Date: Mon Jul 24 16:50:36 2017 +0200 QA Tools: Omit last digit of the version diff --git a/esc-reporting/qa-tools.py b/esc-reporting/qa-tools.py index 055d700..8513254 100755 --- a/esc-reporting/qa-tools.py +++ b/esc-reporting/qa-tools.py @@ -346,14 +346,14 @@ def analyze_bugzilla(statList, bugzillaData, cfg): elif addedVersion == 'Inherited From OOo': addedVersion = 0 else: - addedVersion = int(''.join([s for s in re.split('\.|\s',addedVersion) if s.isdigit()]).ljust(4, '0')) + addedVersion = int(''.join([s for s in re.split('\.|\s',addedVersion) if s.isdigit()]).ljust(3, '0')[:3] ) if removedVersion == 'unspecified': removedVersion = 999999 elif removedVersion == 'Inherited From OOo': removedVersion = 0 else: - removedVersion = int(''.join([s for s in re.split('\.|\s',removedVersion) if s.isdigit()]).ljust(4, '0')) + removedVersion = int(''.join([s for s in re.split('\.|\s',removedVersion) if s.isdigit()]).ljust(3, '0')[:3] ) if removedVersion < oldestVersion: oldestVersion = removedVersion _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits