Remove python deprecation warning for raw string
Change-Id: I12781a74479669355e966a9bf972b82ab6518b17
This commit is contained in:
parent
f10af37483
commit
f745df2a89
@ -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] = (
|
||||
|
Loading…
Reference in New Issue
Block a user