Remove python deprecation warning for raw string

Change-Id: I12781a74479669355e966a9bf972b82ab6518b17
This commit is contained in:
asarfaty 2020-04-06 06:26:37 +02:00
parent f10af37483
commit f745df2a89
1 changed files with 1 additions and 1 deletions

View File

@ -321,7 +321,7 @@ class NSXRequestsHTTPProvider(AbstractHTTPProvider):
else:
for header_name in resp.headers:
if self.SET_COOKIE_FIELD.lower() == header_name.lower():
m = re.match('%s=.*?\;' % self.JSESSIONID, # noqa
m = re.match(r'%s=.*?\;' % self.JSESSIONID, # noqa
resp.headers[header_name])
if m:
session.default_headers[self.COOKIE_FIELD] = (