Skip to content

Commit

Permalink
Fix modification of dict during iteration in graph extension
Browse files Browse the repository at this point in the history
  • Loading branch information
aeslaughter committed Jan 12, 2021
1 parent 7071b75 commit 57b33e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/MooseDocs/extensions/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ def __init__(self, name):

def __call__(self, **kwargs):
"""Replace the markers with the supplied key, value pairs."""
for key in kwargs:
for key in list(kwargs.keys()):
if key.endswith('_'):
kwargs[key[:-1]] = kwargs.pop(key)

Expand Down

0 comments on commit 57b33e0

Please sign in to comment.