Lint: W605 invalid escape sequence '\.'
This commit is contained in:
parent
8ba267a59e
commit
7aaca92cdb
|
@ -245,7 +245,7 @@ def upload_ova(pool, name, ova_size):
|
||||||
return output, retcode
|
return output, retcode
|
||||||
|
|
||||||
# Parse through the members list and extract the OVF file
|
# 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)
|
ovf_file = ova_archive.extractfile(element)
|
||||||
|
|
||||||
# Parse the OVF file to get our VM details
|
# Parse the OVF file to get our VM details
|
||||||
|
|
Loading…
Reference in New Issue