osclib/util: project_list_family(): cache via memoize.
This commit is contained in:
parent
f13899e393
commit
087c1b0b8b
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user