Skip to content

Commit

Permalink
[#4801] izip_longest renamed in py3
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Nov 22, 2019
1 parent 40895dd commit 3ed55d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/datastore/blueprint.py
@@ -1,6 +1,6 @@
# encoding: utf-8

from itertools import izip_longest
from six.moves import zip_longest

from flask import Blueprint, make_response
from flask.views import MethodView
Expand Down Expand Up @@ -143,7 +143,7 @@ def post(self, id, resource_id):
u'id': f[u'id'],
u'type': f[u'type'],
u'info': fi if isinstance(fi, dict) else {}
} for f, fi in izip_longest(fields, info)]
} for f, fi in zip_longest(fields, info)]
}
)

Expand Down

0 comments on commit 3ed55d6

Please sign in to comment.