From 39891485c53421d6f06d5e686adefd3fea572b1d Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sat, 18 Mar 2017 02:54:15 +0100 Subject: [PATCH] Use ordered dict for the actionmap cache (#136) --- moulinette/actionsmap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moulinette/actionsmap.py b/moulinette/actionsmap.py index 4e963d6c..3fe8cd03 100644 --- a/moulinette/actionsmap.py +++ b/moulinette/actionsmap.py @@ -526,7 +526,7 @@ class ActionsMap(object): # Read actions map from yaml file am_file = '%s/actionsmap/%s.yml' % (pkg.datadir, n) with open(am_file, 'r') as f: - actionsmaps[n] = yaml.load(f) + actionsmaps[n] = ordered_yaml_load(f) # at installation, cachedir might not exists if os.path.exists('%s/actionsmap/' % pkg.cachedir):