From e20fe3454e94f17a800c2d985499f20b21341a73 Mon Sep 17 00:00:00 2001 From: "pixeebot[bot]" <23113631+pixeebot@users.noreply.github.com> Date: Thu, 1 Feb 2024 03:40:04 +0000 Subject: [PATCH] Replaces is operator with == for literal or new object comparisons --- jhipster_security_fix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jhipster_security_fix.py b/jhipster_security_fix.py index 5ab1d2f3..0b16ae28 100644 --- a/jhipster_security_fix.py +++ b/jhipster_security_fix.py @@ -57,7 +57,7 @@ async def do_retry(exception: Optional[Exception]) -> str: data=file_contents, timeout=self.timeout ) - if response.status_code is 200: + if response.status_code == 200: return response.text else: return await do_retry(None)