Mercurial > kallithea
changeset 8182:abb00ff224b6
py3: automatic migration with 2to3 -f itertools
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Wed, 05 Feb 2020 23:03:23 +0100 |
parents | 21f7b699d467 |
children | aa093e05a1c6 |
files | kallithea/controllers/api/__init__.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/kallithea/controllers/api/__init__.py Wed Feb 05 23:03:08 2020 +0100 +++ b/kallithea/controllers/api/__init__.py Wed Feb 05 23:03:23 2020 +0100 @@ -172,7 +172,7 @@ default_empty = type(NotImplemented) # kw arguments required by this method - func_kwargs = dict(itertools.izip_longest(reversed(arglist), reversed(defaults), + func_kwargs = dict(itertools.zip_longest(reversed(arglist), reversed(defaults), fillvalue=default_empty)) # This attribute will need to be first param of a method that uses