Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/rez/package_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ def add_variants(self, variants: Iterable[Variant], package_cache_async: bool =
# a prod install. On non-windows we could fork instead, but there would
# remain no good solution on windows.
#
if not system.is_production_rez_install:
if package_cache_async and not system.is_production_rez_install:
raise PackageCacheError(
"PackageCache.add_variants is only supported in a "
"production rez installation."
Expand Down