Backed out changeset 120bb0115412 (bug 1874208) for causing BP bustages.

This commit is contained in:
Narcis Beleuzu 2024-01-12 09:02:06 +02:00
parent 2766795843
commit c35689e579

View File

@ -562,9 +562,10 @@ class CommandSiteManager:
"""
result = self._up_to_date()
if not result.is_up_to_date:
print(f"Site not up-to-date reason: {result.reason}", file=sys.stderr)
print(f"Site not up-to-date reason: {result.reason}")
active_site = MozSiteMetadata.from_runtime()
if active_site.site_name == self._site_name:
print(result.reason, file=sys.stderr)
raise Exception(
f'The "{self._site_name}" site is out-of-date, even though it has '
f"already been activated. Was it modified while this Mach process "