Skip to content

Commit fbdd17a

Browse files
authored
Merge pull request #195 from dpath-maintainers/flake8-patch
Minor flake8 change
2 parents e0d412f + e137b9f commit fbdd17a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpath/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ def merger(dst, src, _segments=()):
316316
target = segments.get(dst, current_path)
317317

318318
# If the types don't match, replace it.
319-
if type(found) != type(target) and not are_both_mutable(found, target):
319+
if type(found) is not type(target) and not are_both_mutable(found, target):
320320
segments.set(dst, current_path, found)
321321
continue
322322

0 commit comments

Comments
 (0)