File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -537,30 +537,15 @@ def main():
537537
538538 # download and register builder
539539 builds = []
540-
541- for version in args .openssl :
542- build = BuildOpenSSL (
543- version ,
544- args
545- )
546- build .install ()
547- builds .append (build )
548-
549- for version in args .libressl :
550- build = BuildLibreSSL (
551- version ,
552- args
553- )
554- build .install ()
555- builds .append (build )
556-
557- for version in args .awslc :
558- build = BuildAWSLC (
559- version ,
560- args
561- )
562- build .install ()
563- builds .append (build )
540+ for build_class , versions in [
541+ (BuildOpenSSL , args .openssl ),
542+ (BuildLibreSSL , args .libressl ),
543+ (BuildAWSLC , args .awslc ),
544+ ]:
545+ for version in versions :
546+ build = build_class (version , args )
547+ build .install ()
548+ builds .append (build )
564549
565550 if args .steps in {'modules' , 'tests' }:
566551 for build in builds :
You can’t perform that action at this time.
0 commit comments