From 935fb7248b65f61c3534b37d37ba9c663988b134 Mon Sep 17 00:00:00 2001 From: Courtney Peverley Date: Tue, 7 Nov 2023 15:34:17 -0700 Subject: [PATCH] fix attempt to sort list --- scripts/ccpp_suite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ccpp_suite.py b/scripts/ccpp_suite.py index fc8cf1b6..ade2c234 100644 --- a/scripts/ccpp_suite.py +++ b/scripts/ccpp_suite.py @@ -1136,7 +1136,7 @@ def write_req_vars_sub(self, ofile, errmsg_name, errcode_name): ofile.write("\nsubroutine {}({})".format(API.__vars_fname, inargs), 1) # Declare use statements for suite varlist routines mlen = max([len(x.module) for x in self.suites]) - for suite in sorted(self.suites): + for suite in self.suites: mod = f"{suite.module}{' '*(mlen - len(suite.module))}" ofile.write(f"use {mod}, only: {suite.req_vars_subname()}", 2) # end for