Skip to content

Commit

Permalink
Merge 30817e3 into 65f4cba
Browse files Browse the repository at this point in the history
  • Loading branch information
leplatrem committed Mar 16, 2017
2 parents 65f4cba + 30817e3 commit 17b1ae5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ This document describes changes between each past release.
7.1.0 (unreleased)
==================

- Nothing changed yet.
**Bug fixes**

- Method for plural endpoints now return list of objects instead of ``odict_values``.


7.0.0 (2016-09-30)
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VIRTUALENV = virtualenv
VIRTUALENV = virtualenv --python python3
VENV := $(shell echo $${VIRTUAL_ENV-.venv})
PYTHON = $(VENV)/bin/python
DEV_STAMP = $(VENV)/.dev_env_installed.stamp
Expand Down Expand Up @@ -30,6 +30,7 @@ need-kinto-running:
@curl http://localhost:8888/v0/ 2>/dev/null 1>&2 || (echo "Run 'make runkinto' before starting tests." && exit 1)

runkinto: install-dev
$(VENV)/bin/python --version
$(VENV)/bin/kinto --ini kinto_http/tests/config/kinto.ini migrate
$(VENV)/bin/kinto --ini kinto_http/tests/config/kinto.ini start

Expand Down
2 changes: 1 addition & 1 deletion kinto_http/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def _paginated(self, endpoint, records=None, if_none_match=None, **kwargs):
next_page = headers['Next-Page']
return self._paginated(next_page, records,
if_none_match=if_none_match)
return records.values()
return list(records.values())

def _get_cache_headers(self, safe, data=None, if_match=None):
has_data = data is not None and data.get('last_modified')
Expand Down

0 comments on commit 17b1ae5

Please sign in to comment.