From 8d5a27b848230b929064902b784119856fb7893b Mon Sep 17 00:00:00 2001 From: Johan Lundberg Date: Thu, 24 Sep 2015 15:27:35 +0200 Subject: Sort members by name in cosmos-db.yaml --- fabfile/db.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fabfile') 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 -- cgit v1.1