Searched refs:repo_line (Results 1 – 3 of 3) sorted by relevance
144 def repo_line(self): member in SourceEntry148 repo_line = []158 repo_line = repo_line + [self.uri, self.dist, " ".join(self.comps)]169 if not repo_line:173 repo_line.pop(0)180 repo_line = [x for x in (line.strip("[]") for line in repo_line) if x]185 repo_line.pop(repo_line.index(opt))187 repo_line.pop(repo_line.index("[" + opt + "]"))188 self.type = repo_line[0]189 self.uri = repo_line[1][all …]
1120 repo_line = "deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted"1122 with patch("salt.utils.files.fopen", mock_open(read_data=repo_line)):1147 def test_sourceslist_architectures(repo_line): argument1151 with patch("salt.utils.files.fopen", mock_open(read_data=repo_line)):1159 if "," in repo_line:
61 repo_line = ensure_text(lines[line2read])62 repo_url = repo_line.split("/rev/")