• Angelos Evripiotis's avatar
    {artifact,source,cas}cache: fix one-shot callbacks · 95565a6b
    Angelos Evripiotis authored
    Remove the unintended side-effect of only being able to iterate the
    ref_callbacks results once. This would mean that subsequent calls to
    clean() were not honoring the required_refs correctly.
    
    Update CasQuota.clean() to call the ref callbacks and iterate over
    their results.
    
    When registering ref callbacks; pass the methods, and not the generators
    that they return.
    95565a6b
Name
Last commit
Last update
.gitlab Loading commit data...
.gitlab-ci Loading commit data...
buildstream Loading commit data...
contrib Loading commit data...
doc Loading commit data...
man Loading commit data...
requirements Loading commit data...
tests Loading commit data...
.coveragerc Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
.pylintrc Loading commit data...
BuildStream.doap Loading commit data...
CONTRIBUTING.rst Loading commit data...
COPYING Loading commit data...
MAINTAINERS Loading commit data...
MANIFEST.in Loading commit data...
NEWS Loading commit data...
README.rst Loading commit data...
setup.cfg Loading commit data...
setup.py Loading commit data...
tox.ini Loading commit data...
versioneer.py Loading commit data...