Revert "Lint: W605 invalid escape sequence '\.'"

This reverts commit 7aaca92cdb.
This commit is contained in:
Joshua Boniface 2020-11-07 17:38:00 -05:00
parent c7a289e9bb
commit 6213d39c42
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,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