blob: a87bc140d2cf21d21ef74062e906c740d4d19152 [file] [log] [blame]
#!/usr/bin/env python
# Copyright 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import os
import sys
from chrome_telemetry_build import chromium_config
from telemetry import record_wpr
# This is required to resolve importing davclient in tools/perf/third_party/
# when record_wpr try to dynamically discover benchmark classes.
import third_party # pylint: disable=unused-import
_WARNING_PATTERN = '\033[93m%s\033[0m' # Use yellow color for warning.
def _WarnPythonVersion():
("Your system python's version is less than 2.7.9. "
'For best recording results, please run record_wpr with Python '
'version 2.7.9 or after (See '
' '
'for more information).\n'
'For instructions on how to upgrade Python on Ubuntu 14.04, see:\n'
if __name__ == '__main__':
if sys.version_info < (2, 7, 9):