osclib/util: project_list_family(): cache via memoize.

This commit is contained in:
Jimmy Berry 2019-02-15 10:55:39 -06:00
parent f13899e393
commit 087c1b0b8b

View File

@ -1,7 +1,9 @@
from osc import conf
from osclib.core import project_list_prefix
from osclib.memoize import memoize
@memoize(session=True)
def project_list_family(apiurl, project, include_update=False):
"""
Determine the available projects within the same product family.