diff --git a/vmware_nsxlib/v3/cluster.py b/vmware_nsxlib/v3/cluster.py index 4b143258..43228f57 100644 --- a/vmware_nsxlib/v3/cluster.py +++ b/vmware_nsxlib/v3/cluster.py @@ -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] = (