| Index: apiclient/model.py |
| =================================================================== |
| --- a/apiclient/model.py |
| +++ b/apiclient/model.py |
| @@ -261,7 +261,7 @@ |
| def deserialize(self, content): |
| body = simplejson.loads(content) |
| - if isinstance(body, dict) and 'data' in body: |
| + if self._data_wrapper and isinstance(body, dict) and 'data' in body: |
| body = body['data'] |
| return body |