Skip to content

Commit

Permalink
wizard: use a reliable order for enabled modules in the project file
Browse files Browse the repository at this point in the history
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 <Nicolas.Dandrimont@crans.org>

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4856 38d2e660-2303-0410-9eaa-f027e97ec537
  • Loading branch information
lottaviano committed Apr 12, 2011
1 parent 7f7e9bb commit 15b829c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wizard/bertos_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15b829c

Please sign in to comment.