From 15b829c39d2878facdfbab8d12482f803e136dd3 Mon Sep 17 00:00:00 2001 From: lottaviano Date: Tue, 12 Apr 2011 05:15:25 +0000 Subject: [PATCH] wizard: use a reliable order for enabled modules in the project file This should minimize the diff in the project file when enabling/disabling a module in a BeRTOS project stored inside a VCS. Signed-off-by: Nicolas Dandrimont git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4856 38d2e660-2303-0410-9eaa-f027e97ec537 --- wizard/bertos_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wizard/bertos_utils.py b/wizard/bertos_utils.py index feb5c987..7be67fe1 100644 --- a/wizard/bertos_utils.py +++ b/wizard/bertos_utils.py @@ -118,7 +118,7 @@ def projectFileGenerator(project_info): for module, information in project_info.info("MODULES").items(): if information["enabled"]: enabled_modules.append(module) - project_data["ENABLED_MODULES"] = enabled_modules + project_data["ENABLED_MODULES"] = sorted(enabled_modules) if project_info.info("PRESET"): # For presets save again the BERTOS_PATH into project file project_data["PRESET"] = True -- 2.25.1