From cc9c27f5b5f751d22b86cf4bd932d08379c6bd84 Mon Sep 17 00:00:00 2001 From: Daniel Mach Date: Thu, 29 Feb 2024 09:22:42 +0100 Subject: [PATCH] Clarify that 'rev' argument in Package is metadata revision --- osc/obs_api/package.py | 1 + 1 file changed, 1 insertion(+) 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,