native_client_sdk/src/tools/getos.py
def CheckVersion(required_version):
  """Determines whether the current SDK version meets the required version.

  Args:
    required_version: (major, position) pair, where position is the
    Cr-Commit-Position number.

  Raises:
    Error: The SDK version is older than required_version.
  """
  version = GetSDKVersion()[:2]
  if version < required_version:
    raise Error("SDK version too old (current: %d.%d, required: %d.%d)"
           % (version[0], version[1], required_version[0], required_version[1]))
Determines whether the current SDK version meets the required version.

  Args:
    required_version: (major, position) pair, where position is the
    Cr-Commit-Position number.

  Raises:
    Error: The SDK version is older than required_version.
  
Determines whether the current SDK version meets the required version.
Args:
required_version: (major, position) pair, where position is the
Cr-Commit-Position number.

The SDK version is older than required_version.
Determines whether the current SDK version meets the required version . Args : required_version : ( major position ) pair where position is the Cr - Commit - Position number . The SDK version is older than required_version .
def CheckVersion(required_version):
  version = GetSDKVersion()[:2]
  if version < required_version:
    raise Error("SDK version too old (current: %d.%d, required: %d.%d)"
           % (version[0], version[1], required_version[0], required_version[1]))
def CheckVersion ( required_version ) : version = GetSDKVersion ( ) [ : 2 ] if version < required_version : raise Error ( "SDK version too old (current: %d.%d, required: %d.%d)" % ( version [ 0 ] , version [ 1 ] , required_version [ 0 ] , required_version [ 1 ] ) )
Determines whether the current SDK version meets the required version.
Determines whether the current SDK version meets the required version .
"""Determines whether the current SDK version meets the required version.

  Args:
    required_version: (major, position) pair, where position is the
    Cr-Commit-Position number.

  Raises:
    Error: The SDK version is older than required_version.
  """
required_version