Skip to content

Commit e20fe34

Browse files
committed
Replaces is operator with == for literal or new object comparisons
1 parent acbcb72 commit e20fe34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jhipster_security_fix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ async def do_retry(exception: Optional[Exception]) -> str:
5757
data=file_contents,
5858
timeout=self.timeout
5959
)
60-
if response.status_code is 200:
60+
if response.status_code == 200:
6161
return response.text
6262
else:
6363
return await do_retry(None)

0 commit comments

Comments
 (0)