mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
python: replace "while 1" with "while True"
This makes pyright recognize that the function never returns implicitly.
This commit is contained in:
@@ -85,7 +85,7 @@ class ConfigureTracker:
|
||||
self._imap_finished.wait()
|
||||
|
||||
def wait_progress(self, data1=None):
|
||||
while 1:
|
||||
while True:
|
||||
evdata = self._progress.get()
|
||||
if data1 is None or evdata == data1:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user