tools/check_git_config.py
def last_configuration_path():
  """Path to store last checked configuration."""
  if is_using_git():
    return os.path.join(REPO_ROOT, '.git', 'check_git_push_access_conf.json')
  elif is_using_svn():
    return os.path.join(REPO_ROOT, '.svn', 'check_git_push_access_conf.json')
  else:
    return os.path.join(REPO_ROOT, '.check_git_push_access_conf.json')
Path to store last checked configuration.
Path to store last checked configuration.
Path to store last checked configuration .
def last_configuration_path():
  if is_using_git():
    return os.path.join(REPO_ROOT, '.git', 'check_git_push_access_conf.json')
  elif is_using_svn():
    return os.path.join(REPO_ROOT, '.svn', 'check_git_push_access_conf.json')
  else:
    return os.path.join(REPO_ROOT, '.check_git_push_access_conf.json')
def last_configuration_path ( ) : if is_using_git ( ) : return os . path . join ( REPO_ROOT , '.git' , 'check_git_push_access_conf.json' ) elif is_using_svn ( ) : return os . path . join ( REPO_ROOT , '.svn' , 'check_git_push_access_conf.json' ) else : return os . path . join ( REPO_ROOT , '.check_git_push_access_conf.json' )
Path to store last checked configuration.
Path to store last checked configuration .
"""Path to store last checked configuration."""