Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: tools/telemetry/telemetry/core/platform/platform_backend.py

Issue 739623005: [Telemetry] Resolve errors due to new pylint checker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ready to land Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/telemetry/telemetry/core/platform/platform_backend.py
diff --git a/tools/telemetry/telemetry/core/platform/platform_backend.py b/tools/telemetry/telemetry/core/platform/platform_backend.py
index 989b435f06d577d63766beabeb9df84d4844794c..4c615ea9e69e7712d0d2586aeba9fd9331a2b918 100644
--- a/tools/telemetry/telemetry/core/platform/platform_backend.py
+++ b/tools/telemetry/telemetry/core/platform/platform_backend.py
@@ -31,17 +31,17 @@ class OSVersion(str):
return self._sortable_name >= other._sortable_name
-XP = OSVersion('xp', 5.1)
-VISTA = OSVersion('vista', 6.0)
-WIN7 = OSVersion('win7', 6.1)
-WIN8 = OSVersion('win8', 6.2)
-
-LEOPARD = OSVersion('leopard', 105)
-SNOWLEOPARD = OSVersion('snowleopard', 106)
-LION = OSVersion('lion', 107)
+XP = OSVersion('xp', 5.1)
+VISTA = OSVersion('vista', 6.0)
+WIN7 = OSVersion('win7', 6.1)
+WIN8 = OSVersion('win8', 6.2)
+
+LEOPARD = OSVersion('leopard', 105)
+SNOWLEOPARD = OSVersion('snowleopard', 106)
+LION = OSVersion('lion', 107)
MOUNTAINLION = OSVersion('mountainlion', 108)
-MAVERICKS = OSVersion('mavericks', 109)
-YOSEMITE = OSVersion('yosemite', 1010)
+MAVERICKS = OSVersion('mavericks', 109)
+YOSEMITE = OSVersion('yosemite', 1010)
class PlatformBackend(object):

Powered by Google App Engine
This is Rietveld 408576698