parameters: (project_id=None)
return_statement: return project_id
docstring: Fills in a project_id from the boto config file if one is not provided.
docstring_summary: Fills in a project_id from the boto config file if one is not provided.
docstring_tokens: Fills in a project_id from the boto config file if one is not provided .
function: def PopulateProjectId(project_id=None):
    """Fills in a project_id from the boto config file if one is not provided."""
    if not project_id:
      default_id = boto.config.get_value('GSUtil', 'default_project_id')
      if not default_id:
        raise ProjectIdException('MissingProjectId')
      return default_id
    return project_id
function_tokens: def PopulateProjectId ( project_id = None ) : if not project_id : default_id = boto . config . get_value ( 'GSUtil' , 'default_project_id' ) if not default_id : raise ProjectIdException ( 'MissingProjectId' ) return default_id return project_id