Skip to content

Commit cfe1acb

Browse files
committed
Merge pull request #2 from box/pep8-E731-fix
Fix PEP 8 E731 error
2 parents 18766d1 + bf81d71 commit cfe1acb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/functional/mock_box/util/chaos_utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ def xml(method):
6464

6565
def patch(operations):
6666
json_patch = jsonpatch.JsonPatch(operations)
67-
patcher = lambda doc: json_patch.apply(doc)
67+
68+
def patcher(doc):
69+
return json_patch.apply(doc)
6870

6971
def inner(patched_function):
7072
def patched_inner(*args, **kwargs):

0 commit comments

Comments
 (0)