Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2023-10-20 19:37:09 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2023-10-20 19:37:09 +0300
commit213a2d8f4584d336f12c6271792c4a01ed804899 (patch)
tree36762eaa86f18fbe5c978a98f350c965d725d870 /calm/package.py
parent4ec27f5a72a43faef3aabb782b894fd2d4f95f85 (diff)
Use source package of actual version, not best version in vaulting
Use the source package of the actual version being considered, not the best version, when determining if a package is owned by a source package to be vaulted. (Source package can change between versions, if sources are split or merged)
Diffstat (limited to 'calm/package.py')
-rwxr-xr-xcalm/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/package.py b/calm/package.py
index 7f4bad6..a9aff3d 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -1582,7 +1582,7 @@ def mark_fn(packages, po, v, certain_age, vault_requests):
# - marked via 'calm-tool vault'
#
- es = po.srcpackage(bv, suffix=False)
+ es = po.srcpackage(v, suffix=False)
if es in vault_requests:
if v in vault_requests[es]:
logging.info("package '%s' version '%s' not retained due vault request" % (pn, v))