Skip to content

Commit

Permalink
iteritems
Browse files Browse the repository at this point in the history
  • Loading branch information
Taiju Yamada committed Aug 13, 2023
1 parent 655fb17 commit bb49d15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mujin_webstackclientpy_applyconfig.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _CopyValueOfPath(src, dest, path, parentPath=None):
currentPathElement = path[0]
if currentPathElement == '*':
if isinstance(src, dict) and isinstance(dest, dict):
for srcKey, srcValue in src.iteritems():
for srcKey, srcValue in six.iteritems(src):
if srcKey in dest:
_CopyValueOfPath(srcValue, dest[srcKey], path[1:], (parentPath or [])+[path[0]])
else:
Expand Down

0 comments on commit bb49d15

Please sign in to comment.