diff options
| author | Stephen Finucane <sfinucan@redhat.com> | 2019-04-12 17:06:04 +0100 |
|---|---|---|
| committer | Eric Fried <openstack@fried.cc> | 2019-06-24 14:24:06 -0500 |
| commit | dc6fc82c1424769e38ef6fff2ea01e718220b954 (patch) | |
| tree | effaa307a57bd664318d204cddc8b014d4b68dfc /nova/virt/vmwareapi/driver.py | |
| parent | 97b769ef536f4ba496e845f43c79a7f0655a17d3 (diff) | |
| download | nova-dc6fc82c1424769e38ef6fff2ea01e718220b954.tar.gz | |
hacking: Resolve W605 (invalid escape sequence)
This one's actually important since it will be an error in future
versions of Python.
Change-Id: Ib9f735216773224f91ac7f49fbe2eee119670872
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
Diffstat (limited to 'nova/virt/vmwareapi/driver.py')
| -rw-r--r-- | nova/virt/vmwareapi/driver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/vmwareapi/driver.py b/nova/virt/vmwareapi/driver.py index 2720e832bc..77c8f07df1 100644 --- a/nova/virt/vmwareapi/driver.py +++ b/nova/virt/vmwareapi/driver.py @@ -88,7 +88,7 @@ class VMwareVCDriver(driver.ComputeDriver): # We assume <mo id> consists of alphanumeric, _ and -. # We assume cluster name is everything between the first ( and the last ). # We pull out <mo id> for re-use. - LEGACY_NODENAME = re.compile('([\w-]+)\(.+\)') + LEGACY_NODENAME = re.compile(r'([\w-]+)\(.+\)') # The vCenter driver includes API that acts on ESX hosts or groups # of ESX hosts in clusters or non-cluster logical-groupings. |
