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:
Diffstat (limited to 'calm/calm.py')
-rwxr-xr-xcalm/calm.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/calm/calm.py b/calm/calm.py
index dc66926..17a9932 100755
--- a/calm/calm.py
+++ b/calm/calm.py
@@ -314,11 +314,13 @@ def remove_stale_packages(args, packages, state):
to_vault['noarch'] = MoveList()
to_vault['src'] = MoveList()
+ vault_requests = db.vault_requests(args)
+
for arch in common_constants.ARCHES:
logging.debug("checking for stale packages for arch %s" % (arch))
# find stale packages
- to_vault[arch] = package.stale_packages(packages[arch])
+ to_vault[arch] = package.stale_packages(packages[arch], vault_requests)
# remove stale packages from package set
to_vault[arch].map(lambda p, f: package.delete(packages[arch], p, f))