File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -176,10 +176,10 @@ def make_patch(src, dst):
176176 # fix when patch with optimization is incorrect
177177 patch = JsonPatch .from_diff (src , dst )
178178 try :
179- new = patch .apply (src )
179+ new = patch .apply (src )
180180 except JsonPatchConflict : # see TODO
181181 return JsonPatch .from_diff (src , dst , False )
182-
182+
183183 if new != dst :
184184 return JsonPatch .from_diff (src , dst , False )
185185
Original file line number Diff line number Diff line change @@ -376,7 +376,7 @@ def test_json_patch(self):
376376 patch = jsonpatch .make_patch (old , new )
377377 new_from_patch = jsonpatch .apply_patch (old , patch )
378378 self .assertEqual (new , new_from_patch )
379-
379+
380380 def test_arrays_one_element_sequences (self ):
381381 """ Tests the case of multiple common one element sequences inside an array """
382382 # see https://github.com/stefankoegl/python-json-patch/issues/30#issuecomment-155070128
You can’t perform that action at this time.
0 commit comments