Skip to content

Commit

Permalink
Prevent loop modification
Browse files Browse the repository at this point in the history
  • Loading branch information
jacebrowning committed Feb 14, 2019
1 parent 5e810aa commit 49f5bd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion datafiles/converters/containers.py
Expand Up @@ -138,7 +138,7 @@ def to_python_value(cls, deserialized_data, *, target_object):
else:
data = {}

for name, value in data.items():
for name, value in list(data.items()):
if name not in cls.CONVERTERS:
log.debug(f'Removed unmapped nested file attribute: {name}')
data.pop(name)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
@@ -1,7 +1,7 @@
[tool.poetry]

name = "datafiles"
version = "0.2b4"
version = "0.2b5"
description = "File-based ORM for dataclasses."

license = "MIT"
Expand Down

0 comments on commit 49f5bd5

Please sign in to comment.