From eaed9650752c54fedb926203b0570d3917c78a11 Mon Sep 17 00:00:00 2001 From: sgurumurthy Date: Fri, 29 Jul 2016 17:26:59 -0700 Subject: [PATCH] Closes-Bug: #1594994 Eval is not required as we don't support parameters in quotes in json Change-Id: I58927f0a53d2f740f3ac37baf4ab6951e241899d --- src/server_mgr_main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/server_mgr_main.py b/src/server_mgr_main.py index aa680d9b..bafe1f9c 100755 --- a/src/server_mgr_main.py +++ b/src/server_mgr_main.py @@ -1498,8 +1498,6 @@ def put_image(self): image_path = image.get("path", None) image_category = image.get("category", None) image_params = image.get("parameters", {}) - #Convert unicode python string dictionary into a normal string dict - image_params = ast.literal_eval(image_params) if (not image_id) or (not image_path): self._smgr_log.log(self._smgr_log.ERROR, "image id or location not specified")