Skip to content

Commit e649871

Browse files
committed
Remove trailing whitespace
1 parent 7583258 commit e649871

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

jsonpatch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)