• 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.
Last commit
Last update
__init__.py Loading commit data...
cascache.py Loading commit data...
casremote.py Loading commit data...
casserver.py Loading commit data...