Skip to content

Commit

Permalink
Don't do a complexity check in the DX serializer. It is complex.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroel committed Apr 13, 2017
1 parent 5f4d2d9 commit 0fbf929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/restapi/deserializer/dxcontent.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(self, context, request):
self.sm = getSecurityManager()
self.permission_cache = {}

def __call__(self, validate_all=False):
def __call__(self, validate_all=False): # noqa: ignore=C901
data = json_body(self.request)

modified = False
Expand Down

0 comments on commit 0fbf929

Please sign in to comment.