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 |
) |