diff options
Diffstat (limited to 'policyhandler/policy_rest.py')
-rw-r--r-- | policyhandler/policy_rest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/policyhandler/policy_rest.py b/policyhandler/policy_rest.py index b11a79a..4eee154 100644 --- a/policyhandler/policy_rest.py +++ b/policyhandler/policy_rest.py @@ -444,7 +444,7 @@ class PolicyRest(object): result[ERRORED_POLICIES] = dict( pair for (_, eps, _) in latest_policies if eps for pair in eps.iteritems()) - result[ERRORED_SCOPES] = [esp for (_, _, esp) in latest_policies if esp] + result[ERRORED_SCOPES] = sorted([esp for (_, _, esp) in latest_policies if esp]) PolicyRest._logger.debug("got policies for policy_filters: %s. result: %s", str_policy_filters, json.dumps(result)) |