From 84cab2bcdd24f04522b1552ad429613c8c05a6d9 Mon Sep 17 00:00:00 2001 From: iLLiCiTiT Date: Fri, 17 Sep 2021 18:37:24 +0200 Subject: [PATCH] removed unused global_family_cache --- openpype/tools/utils/lib.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/openpype/tools/utils/lib.py b/openpype/tools/utils/lib.py index e83f663b2e..c402b1f169 100644 --- a/openpype/tools/utils/lib.py +++ b/openpype/tools/utils/lib.py @@ -12,18 +12,6 @@ self = sys.modules[__name__] self._jobs = dict() -class SharedObjects: - # Variable for family cache in global context - # QUESTION is this safe? More than one tool can refresh at the same time. - family_cache = None - - -def global_family_cache(): - if SharedObjects.family_cache is None: - SharedObjects.family_cache = FamilyConfigCache(io) - return SharedObjects.family_cache - - def format_version(value, hero_version=False): """Formats integer to displayable version name""" label = "v{0:03d}".format(value)