Skip to content

Commit 989400a

Browse files
committed
Exhaust the map iterator for python 3
1 parent 42782a8 commit 989400a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sunlight/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def get(self, top_level_object, **kwargs):
7373
" to register for a key."
7474
)
7575

76-
top_level_object = map(quote, top_level_object)
76+
top_level_object = list(map(quote, top_level_object))
7777
url = self._get_url(top_level_object, sunlight.config.API_KEY,
7878
**kwargs)
7979
try:

0 commit comments

Comments
 (0)