Skip to content

Commit

Permalink
Closes-Bug: #1594994
Browse files Browse the repository at this point in the history
Eval is not required as we don't support parameters in quotes in json

Change-Id: I58927f0a53d2f740f3ac37baf4ab6951e241899d
  • Loading branch information
sgurumurthy committed Jul 30, 2016
1 parent f19c831 commit eaed965
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/server_mgr_main.py
Expand Up @@ -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")
Expand Down

0 comments on commit eaed965

Please sign in to comment.