From 7aaca92cdb9d6abfdd3c6d37f72783dbbaac12a9 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sat, 7 Nov 2020 12:20:59 -0500 Subject: [PATCH] Lint: W605 invalid escape sequence '\.' --- api-daemon/pvcapid/ova.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-daemon/pvcapid/ova.py b/api-daemon/pvcapid/ova.py index 329a644c..6ad02bf6 100755 --- a/api-daemon/pvcapid/ova.py +++ b/api-daemon/pvcapid/ova.py @@ -245,7 +245,7 @@ def upload_ova(pool, name, ova_size): return output, retcode # Parse through the members list and extract the OVF file - for element in set(x for x in members if re.match('.*\.ovf$', x.name)): + for element in set(x for x in members if re.match('.*[.]ovf$', x.name)): ovf_file = ova_archive.extractfile(element) # Parse the OVF file to get our VM details