Skip to content

Commit

Permalink
Merge "Closes-Bug: #1594994 Eval is not required as we don't support …
Browse files Browse the repository at this point in the history
…parameters in quotes in json" into R3.1
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Jul 30, 2016
2 parents b7984bb + eaed965 commit 8fa8f60
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 8fa8f60

Please sign in to comment.