Change the image changes to return a python block.

This commit is contained in:
jakedt 2014-03-17 15:10:08 -04:00
parent d4cf7df9cf
commit 535947a06d

View file

@ -87,7 +87,7 @@ class RepositoryImageChanges(RepositoryParamResource):
diffs_path = store.image_file_diffs_path(namespace, repository, image_id, uuid)
try:
response_json = store.get_content(diffs_path)
response_json = json.loads(store.get_content(diffs_path))
return response_json
except IOError:
abort(404)