Skip to content

Commit

Permalink
Use r-string to hide raw string regex warning (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
GitRon committed Nov 25, 2023
1 parent 853392f commit 284c133
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_ses/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
_CERT_CACHE = {}

SES_REGEX_CERT_URL = re.compile(
"(?i)^https://sns\.[a-z0-9\-]+\.amazonaws\.com(\.cn)?/SimpleNotificationService\-[a-z0-9]+\.pem$"
r"(?i)^https://sns\.[a-z0-9\-]+\.amazonaws\.com(\.cn)?/SimpleNotificationService\-[a-z0-9]+\.pem$"
)


Expand Down

0 comments on commit 284c133

Please sign in to comment.