Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: globals/get_browser_versions.py

Issue 29317012: Issue 2681 - Fixed: Thunderbird 38 is listed twice on the requirements page (Closed)
Patch Set: Created June 15, 2015, 8:45 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: globals/get_browser_versions.py
===================================================================
--- a/globals/get_browser_versions.py
+++ b/globals/get_browser_versions.py
@@ -218,7 +218,7 @@
# different channels are on the same version, but we want
# to list each version only once.
versions['unreleased'] = sorted(
- set(versions['unreleased']) - {current, previous},
+ set(versions['unreleased']) - set(re.sub(r'(\.0*)+$', '', ver) for ver in (current, previous) if ver),
saroyanm 2015/06/15 09:35:24 Why we always check for the re.sub(r'(\.0*) ? What
Sebastian Noack 2015/06/15 09:39:53 The beta channel will be updated to 39, before 38.
saroyanm 2015/06/15 09:55:48 LGTM
key=key_by_version
)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld