We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow user to opt out of this wait loop
pgtIou = None retries_left = 5 while not pgtIou and retries_left: try: p = PgtIOU.objects.get(tgt=pgt) logger.warning('PgtIOU retrieved.') return p except PgtIOU.DoesNotExist: time.sleep(1) retries_left -= 1
The text was updated successfully, but these errors were encountered:
dstegelman
No branches or pull requests
Allow user to opt out of this wait loop
The text was updated successfully, but these errors were encountered: