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:
parent
eda8258c7f
commit
cc9c27f5b5
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user