Did I find the right examples for you? yes no

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)
Get repos from an open file.

        def parse_repos(repofile):
    """Get repos from an open file."""
    line_iter = (line.strip() for line in repofile)
    return [RepoInfo(line) for line in line_iter if line and line[0] != '#']

src/r/o/rover-HEAD/rover/__init__.py   rover(Download)
    def load_repos(self, repofile):
        """Load factories for each repo defined in the REPOS file
        sh = rover.shell.Shell()
        repos = config.parse_repos(repofile)