parameters: (args)
docstring: Returns the latest list of GoodRepo objects.
  
      The known-good file is expected to be in the same
      directory as this script unless overridden by the 'known_good_dir'
      parameter.
docstring_summary: Returns the latest list of GoodRepo objects.
docstring_tokens: Returns the latest list of GoodRepo objects .
function: def GetGoodRepos(args):
      """Returns the latest list of GoodRepo objects.
  
      The known-good file is expected to be in the same
      directory as this script unless overridden by the 'known_good_dir'
      parameter.
      """
      if args.known_good_dir:
          known_good_file = os.path.join( os.path.abspath(args.known_good_dir),
              KNOWN_GOOD_FILE_NAME)
      else:
          known_good_file = os.path.join(
              os.path.dirname(os.path.abspath(__file__)), KNOWN_GOOD_FILE_NAME)
      with open(known_good_file) as known_good:
          return [
              GoodRepo(repo, args)
              for repo in json.loads(known_good.read())['repos']
          ]
function_tokens: def GetGoodRepos ( args ) : if args . known_good_dir : known_good_file = os . path . join ( os . path . abspath ( args . known_good_dir ) , KNOWN_GOOD_FILE_NAME ) else : known_good_file = os . path . join ( os . path . dirname ( os . path . abspath ( __file__ ) ) , KNOWN_GOOD_FILE_NAME ) with open ( known_good_file ) as known_good : return [ GoodRepo ( repo , args ) for repo in json . loads ( known_good . read ( ) ) [ 'repos' ] ]