From 9de201d74c14a241db4ab7706c8376d77d38daab Mon Sep 17 00:00:00 2001 From: Jennifer Tran <12633533+botanical@users.noreply.github.com> Date: Thu, 8 Aug 2024 10:50:46 -0700 Subject: [PATCH] fix: reformat file --- routes/infrastructure/construct.py | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/routes/infrastructure/construct.py b/routes/infrastructure/construct.py index 1539b82a..084350e1 100755 --- a/routes/infrastructure/construct.py +++ b/routes/infrastructure/construct.py @@ -56,15 +56,18 @@ def __init__( ), ) - if stage == "production" and veda_route_settings.domain_hosted_zone_name == "openveda.cloud": - self.cf_domain_names=[ - f"{stage}.{veda_route_settings.domain_hosted_zone_name}", - f"{veda_route_settings.domain_hosted_zone_name}" - ] + if ( + stage == "production" + and veda_route_settings.domain_hosted_zone_name == "openveda.cloud" + ): + self.cf_domain_names = [ + f"{stage}.{veda_route_settings.domain_hosted_zone_name}", + f"{veda_route_settings.domain_hosted_zone_name}", + ] else: - self.cf_domain_names=[ - f"{stage}.{veda_route_settings.domain_hosted_zone_name}" - ] + self.cf_domain_names = [ + f"{stage}.{veda_route_settings.domain_hosted_zone_name}" + ] self.distribution = cf.Distribution( self,