Populate the 'reverse' parameter to replace_a_key
authorLitao Gao <litao.gao@windriver.com>
Tue, 28 Feb 2017 08:48:55 +0000 (03:48 -0500)
committerLitao Gao <litao.gao@windriver.com>
Tue, 28 Feb 2017 08:50:17 +0000 (03:50 -0500)
Change-Id: Id0313c385b9e6e974abb23abef4191ede32d57ad
Issue-Id: MULTIVIM-47
Signed-off-by: Litao Gao <litao.gao@windriver.com>''
newton/newton/requests/views/util.py

index 10a6389..089a0e1 100644 (file)
@@ -73,4 +73,4 @@ class VimDriverUtils(object):
     @staticmethod
     def replace_key_by_mapping(dict_obj, mapping, reverse=False):
         for k in mapping:
-            VimDriverUtils.replace_a_key(dict_obj, k)
+            VimDriverUtils.replace_a_key(dict_obj, k, reverse)