forked from sig_core/toolkit
fix overzealous filetype search
This commit is contained in:
parent
3849c6fcdf
commit
a9560a5150
@ -92,8 +92,13 @@
|
||||
Container:
|
||||
format: tar.xz
|
||||
variants: [Base, Minimal, UBI]
|
||||
RPI:
|
||||
format: raw.xz
|
||||
OCP:
|
||||
format: qcow2
|
||||
Vagrant:
|
||||
format: box
|
||||
variants: [Libvirt, Vbox, VMware]
|
||||
livemap:
|
||||
git_repo: 'https://git.resf.org/sig_core/kickstarts.git'
|
||||
branch: 'r9-beta'
|
||||
|
@ -92,8 +92,13 @@
|
||||
Container:
|
||||
format: tar.xz
|
||||
variants: [Base, Minimal, UBI]
|
||||
RPI:
|
||||
format: raw.xz
|
||||
OCP:
|
||||
format: qcow2
|
||||
Vagrant:
|
||||
format: box
|
||||
variants: [Libvirt, Vbox, VMware]
|
||||
livemap:
|
||||
git_repo: 'https://git.resf.org/sig_core/kickstarts.git'
|
||||
branch: 'r9lh'
|
||||
|
@ -579,7 +579,7 @@ class Shared:
|
||||
while True:
|
||||
for y in objs:
|
||||
key = y['Key']
|
||||
if filetype in key and release in key and name in key:
|
||||
if key.endswith(filetype) and release in key and name in key:
|
||||
temp.append(y['Key'])
|
||||
next_token = res.get("NextContinuationToken", None)
|
||||
if next_token:
|
||||
@ -640,7 +640,7 @@ class Shared:
|
||||
resp = xmltodict.parse(bucket_data.content)
|
||||
|
||||
for y in resp['ListBucketResult']['Contents']:
|
||||
if filetype in y['Key'] and release in y['Key'] and name in y['Key']:
|
||||
if y['Key'].endswith(filetype) and release in y['Key'] and name in y['Key']:
|
||||
temp.append(y['Key'])
|
||||
|
||||
for arch in arches:
|
||||
|
Loading…
Reference in New Issue
Block a user