Skip to content

Commit

Permalink
fix flake8/black
Browse files Browse the repository at this point in the history
  • Loading branch information
djay committed Jan 15, 2025
1 parent 35cc7ee commit 5c00a04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions src/plone/restapi/batching.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ def __init__(self, request, results):
self.b_start = parse_int(data, "b_start", False) or parse_int(
self.request.form, "b_start", 0)
self.b_size = parse_int(data, "b_size", False) or parse_int(
self.request.form, "b_size", DEFAULT_BATCH_SIZE
)
self.request.form, "b_size", DEFAULT_BATCH_SIZE)
self.batch = Batch(results, self.b_size, self.b_start)

def __iter__(self):
Expand Down
1 change: 0 additions & 1 deletion src/plone/restapi/services/navigation/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
from zope.i18n import translate
from zope.interface import implementer
from zope.interface import Interface
from zExceptions import BadRequest


@implementer(IExpandableElement)
Expand Down

0 comments on commit 5c00a04

Please sign in to comment.