Fixes: #19228 - Fix ordered_scripts to only return ordered list of script objects

This commit is contained in:
Daniel Sheppard 2025-04-23 13:32:19 -05:00
parent 6c60a4360b
commit e0a85159a6

View File

@ -123,7 +123,7 @@ class ScriptModule(PythonModuleMixin, JobsMixin, ManagedFile):
ordered = [
script_objects.pop(sc) for sc in self.module_scripts.keys() if sc in script_objects
]
ordered.extend(script_objects.items())
ordered.extend(script_objects.values())
return ordered
@property