summaryrefslogtreecommitdiffstats
path: root/yt/python
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2026-02-13 15:21:00 +0300
committerrobot-piglet <[email protected]>2026-02-13 15:44:59 +0300
commit29bc08db7eb8850518b9ecd8ebb0175bd94e9641 (patch)
treec87c7c1f903303492047fbbdbcd109e86a9c0aff /yt/python
parentb83c99e9cc453355adfd4198bf8ed9b22d020be8 (diff)
Intermediate changes
commit_hash:fded5d2af3bea9fd1ae592e7d5fd10fd39c65177
Diffstat (limited to 'yt/python')
-rw-r--r--yt/python/yt/common.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yt/python/yt/common.py b/yt/python/yt/common.py
index 2ecad5d8086..5920393b7e3 100644
--- a/yt/python/yt/common.py
+++ b/yt/python/yt/common.py
@@ -908,6 +908,10 @@ def wait(predicate, error_message=None, iter=None, sleep_backoff=None, timeout=N
def check_predicate():
return predicate(), None, None
+ result = False
+ last_exception = None
+ last_exception_traceback = None
+
if timeout is None:
if iter is None:
iter = 100