parameters: (self, req_major, req_minor=0)
return_statement: return 0
docstring: Verify the version of git is greater than req_major.req_minor
  
          Raises:
              TypeError if req_major or req_minor are not integers.
              SystemExit if detected major < required major version.
                  or if detected major >= req. major AND det. minor < req. minor.
  
          Returns:
              Integer: zero on success.
docstring_summary: Verify the version of git is greater than req_major.req_minor
docstring_tokens: Verify the version of git is greater than req_major . req_minor
function: def check_minimum_version(self, req_major, req_minor=0):
          """
          Verify the version of git is greater than req_major.req_minor
  
          Raises:
              TypeError if req_major or req_minor are not integers.
              SystemExit if detected major < required major version.
                  or if detected major >= req. major AND det. minor < req. minor.
  
          Returns:
              Integer: zero on success.
          """
          if not isinstance(req_major, int):
              raise TypeError("Required parameter 'req_major' must be an integer.")
          if not isinstance(req_minor, int):
              raise TypeError("Required parameter 'req_minor' must be an integer.")
  
          det_major = self.version["major"]
          det_minor = self.version["minor"]
  
          str_err  = "Required Git version must be greater or equal to {}.{}\n".format(req_major, req_minor)
          str_err += "but we detected version {}.{}".format(det_major, det_minor)
  
          if det_major < req_major:
              raise SystemExit(str_err)
          elif det_major == req_major and det_minor < req_minor:
              raise SystemExit(str_err)
          else:
              print("")
              print("Git minimum version requirement: OK")
              print("")
  
          return 0
function_tokens: def check_minimum_version ( self , req_major , req_minor = 0 ) : if not isinstance ( req_major , int ) : raise TypeError ( "Required parameter 'req_major' must be an integer." ) if not isinstance ( req_minor , int ) : raise TypeError ( "Required parameter 'req_minor' must be an integer." ) det_major = self . version [ "major" ] det_minor = self . version [ "minor" ] str_err = "Required Git version must be greater or equal to {}.{}\n" . format ( req_major , req_minor ) str_err += "but we detected version {}.{}" . format ( det_major , det_minor ) if det_major < req_major : raise SystemExit ( str_err ) elif det_major == req_major and det_minor < req_minor : raise SystemExit ( str_err ) else : print ( "" ) print ( "Git minimum version requirement: OK" ) print ( "" ) return 0