parameters: ()
return_statement: return True
docstring: Fetch the debug-symbols git repository and checkout origin/master.
    Return whether successful.
docstring_summary: Fetch the debug-symbols git repository and checkout origin/master.
    Return whether successful.
docstring_tokens: Fetch the debug - symbols git repository and checkout origin / master . Return whether successful .
function: def symbols_checkout():
    '''Fetch the debug-symbols git repository and checkout origin/master.
    Return whether successful.'''
    # The repo is there.  Update it.
    p = run(['git', '-C', repo_dir, 'fetch'])
    if p.returncode:
      log('symbolize: symbols_checkout: cannot fetch git repo: {}', p.stderr)
      return False
    p = run(['git', '-C', repo_dir, 'checkout', '--force', 'origin/master'])
    if p.returncode:
      log('symbolize: symbols_checkout: cannot checkout git repo: {}', p.stderr)
      return False
    return True
function_tokens: def symbols_checkout ( ) : # The repo is there.  Update it. p = run ( [ 'git' , '-C' , repo_dir , 'fetch' ] ) if p . returncode : log ( 'symbolize: symbols_checkout: cannot fetch git repo: {}' , p . stderr ) return False p = run ( [ 'git' , '-C' , repo_dir , 'checkout' , '--force' , 'origin/master' ] ) if p . returncode : log ( 'symbolize: symbols_checkout: cannot checkout git repo: {}' , p . stderr ) return False return True