Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[#239] - Fix broken tests.
  • Loading branch information
ilu2112 committed Sep 16, 2016
commit 2db0e15d6b85b34a9bd66cd75fc234ae8fb77c37
2 changes: 1 addition & 1 deletion syncano/models/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -780,7 +780,7 @@ def request(self, method=None, path=None, **request):
self._populate_instance_name(response)
return self.serialize(response)

if isinstance(response, dict):
if isinstance(response, dict) and 'objects' in response:
for obj in response['objects']:
self._populate_instance_name(obj)
return response
Expand Down