summaryrefslogtreecommitdiff
path: root/fabfile/db.py
diff options
context:
space:
mode:
authorJohan Lundberg <lundberg@nordu.net>2015-09-24 15:27:35 +0200
committerJohan Lundberg <lundberg@nordu.net>2015-09-24 15:27:35 +0200
commit8d5a27b848230b929064902b784119856fb7893b (patch)
tree2c74d0692e6e28f2beb796c31c6a9472854c0313 /fabfile/db.py
parent5e547d94a074df2132e7adb73c762d156cc9d379 (diff)
Sort members by name in cosmos-db.yaml
Diffstat (limited to 'fabfile/db.py')
-rw-r--r--fabfile/db.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/fabfile/db.py b/fabfile/db.py
index 129aa50..081764d 100644
--- a/fabfile/db.py
+++ b/fabfile/db.py
@@ -32,6 +32,10 @@ def _load_db():
node_classes.update(cls)
classes[node_name] = node_classes
+ # Sort member lists for a more easy to read diff
+ for cls in members.keys():
+ members[cls].sort()
+
return dict(classes=classes,members=members)
_db = None