diff --git a/osc/obs_api/package.py b/osc/obs_api/package.py index 83783e9e..d810f71f 100644 --- a/osc/obs_api/package.py +++ b/osc/obs_api/package.py @@ -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,