Skip to content

Commit

Permalink
filter_manager: get prepared for iteration-can-modify
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Pokorný <[email protected]>
  • Loading branch information
jnpkrn committed Nov 3, 2017
1 parent f888830 commit 850dbff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def _init_plugins(cls, filters, fmt_mgr=None, **kwargs):

@staticmethod
def _resolve(formats, filters):
for flt_name, flt_cls in filters.items():
for flt_name, flt_cls in tuple(filters.items()):
ret = flt_cls(formats)
if ret is not None:
filters[flt_name] = ret
Expand Down

0 comments on commit 850dbff

Please sign in to comment.