Skip to content

Commit ed10777

Browse files
committed
fix search_of_the_diff.py
1 parent 1313078 commit ed10777

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

gendiff/search_of_the_diff.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import json
2-
3-
41
def search_diff(value1, value2):
52
result = {}
63
all_keys = sorted(list(value1.keys() | value2.keys()))
@@ -15,4 +12,4 @@ def search_diff(value1, value2):
1512
result[f"+ {key}"] = value2.get(key)
1613
elif key not in value1 and key in value2:
1714
result[f"+ {key}"] = value2.get(key)
18-
return json.dumps(result, indent=4)
15+
return result

0 commit comments

Comments
 (0)