Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit ce349d8

Browse files
committed
fix lint error
1 parent e6c8ed1 commit ce349d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adal/self_signed_jwt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def create(self, certificate, thumbprint, send_x5c):
125125
if send_x5c:
126126
# to avoid pulling in OpenSSL dependency, we do low-tech but safe parsing based on markers
127127
# defined in "<github>/libressl-portable/openbsd/blob/master/src/lib/libcrypto/pem/pem.h"
128-
match = re.search('\-+BEGIN CERTIFICATE.+\-+(?P<public>[^-]+)\-+END CERTIFICATE.+\-+',
128+
match = re.search(r'\-+BEGIN CERTIFICATE.+\-+(?P<public>[^-]+)\-+END CERTIFICATE.+\-+',
129129
certificate, re.I)
130130
if not match:
131131
raise AdalError("Error:Invalid Certificate: Marker of '-----BEGIN CERTIFICATE-----' was not found")

0 commit comments

Comments
 (0)