Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

six.iteritems instead of u.iteritems #83

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion flask_social/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
:copyright: (c) 2012 by Matt Wright.
:license: MIT, see LICENSE for more details.
"""
import six
import collections

from importlib import import_module
Expand Down Expand Up @@ -68,7 +69,7 @@ def strip_prefix(tup):


def update_recursive(d, u):
for k, v in u.iteritems():
for k, v in six.iteritems(u):
if isinstance(v, collections.Mapping):
r = update_recursive(d.get(k, {}), v)
d[k] = r
Expand Down