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

calling iteritems causes an exception on Python 3 #76

Open
@exhuma

Description

@exhuma

Example traceback:

Traceback (most recent call last):
  File "lost_tracker/main.py", line 63, in <module>
    social = Social(app, SQLAlchemyConnectionDatastore(mdl.DB, mdl.Connection))
  File "/home/exhuma/workspace/lost.lu/lost-tracker/env/lib/python3.4/site-packages/flask_social/core.py", line 106, in __init__
    self._state = self.init_app(app, datastore)
  File "/home/exhuma/workspace/lost.lu/lost-tracker/env/lib/python3.4/site-packages/flask_social/core.py", line 130, in init_app
    config = update_recursive(module.config, config)
  File "/home/exhuma/workspace/lost.lu/lost-tracker/env/lib/python3.4/site-packages/flask_social/utils.py", line 71, in update_recursive
    for k, v in u.iteritems():
AttributeError: 'dict' object has no attribute 'iteritems'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions