Home
last modified time | relevance | path

Searched refs:repo_line (Results 1 – 3 of 3) sorted by relevance

/dports/sysutils/py-salt/salt-3004.1/salt/modules/
H A Daptpkg.py144 def repo_line(self): member in SourceEntry
148 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 …]
/dports/sysutils/py-salt/salt-3004.1/tests/pytests/unit/modules/
H A Dtest_aptpkg.py1120 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): argument
1151 with patch("salt.utils.files.fopen", mock_open(read_data=repo_line)):
1159 if "," in repo_line:
/dports/mail/thunderbird/thunderbird-91.8.0/comm/build/moz.configure/
H A Dgecko_source.configure61 repo_line = ensure_text(lines[line2read])
62 repo_url = repo_line.split("/rev/")