Skip to content

Commit

Permalink
return set(), set()
Browse files Browse the repository at this point in the history
  • Loading branch information
squeaky-pl committed Nov 5, 2024
1 parent c9edb7e commit deab6d0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions inbox/mailsync/backends/imap/generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,6 +821,9 @@ def batch_remote_and_local_uids(
*,
batch_size: int = UID_BATCH_SIZE,
) -> "Iterable[tuple[set[int], set[int]]]":
yield set(), set()
return

for end in range(max(remote_uidnext, local_uidnext) - 1, 0, -batch_size):
start = max(end - batch_size + 1, 1)
with self.global_lock:
Expand Down

0 comments on commit deab6d0

Please sign in to comment.