Skip to content

Commit 4f186c0

Browse files
committed
rebasing...
1 parent 08ffd0d commit 4f186c0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tmt/steps/prepare/artifact/providers/copr_repository.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ def _extract_provider_id(cls, raw_id: str) -> ArtifactProviderId:
9494
def artifacts(self) -> Sequence[ArtifactInfo]:
9595
return self._artifacts
9696

97+
def get_repositories(self) -> list[Repository]:
98+
if self.repository is None:
99+
return []
100+
return [self.repository]
101+
97102
def _download_artifact(self, artifact: ArtifactInfo, guest: Guest, destination: Path) -> None:
98103
"""This provider only enables repositories; it does not download individual RPMs."""
99104
raise UnsupportedOperationError(

0 commit comments

Comments
 (0)