From 49ada37ced53ac2e319716768fdd9caa0a709aa7 Mon Sep 17 00:00:00 2001 From: Vishakha Agarwal Date: Thu, 7 Feb 2019 12:59:08 +0530 Subject: [PATCH] Fix wrong example for direct_maps Direct_maps is a list in federation/utils.py. This list is being appended to another list in Class DirectMaps in federaton/utils.py. This patch fixes the example of direct_maps passed to the function _update_local_mapping. Change-Id: I82190d421989638ca6c1c6b6a61de871662b2c06 --- keystone/federation/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keystone/federation/utils.py b/keystone/federation/utils.py index 78358e15cf..f1c052869f 100644 --- a/keystone/federation/utils.py +++ b/keystone/federation/utils.py @@ -688,7 +688,7 @@ class RuleProcessor(object): Example direct_maps:: - ['Bob', 'Thompson', 'bob@example.com'] + [['Bob'], ['Thompson'], ['bob@example.com']] :returns: new local mapping reference with replaced values.