1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-29 11:16:14 +01:00

Clarify that 'rev' argument in Package is metadata revision

This commit is contained in:
Daniel Mach 2024-02-29 09:22:42 +01:00
parent eda8258c7f
commit cc9c27f5b5

View File

@ -69,6 +69,7 @@ class Package(XmlModel):
@classmethod
def from_api(cls, apiurl, project, package, *, rev=None):
# ``rev`` is metadata revision, not revision of the source code
url_path = ["source", project, package, "_meta"]
url_query = {
"rev": rev,