@@ -160,7 +160,7 @@ def create_tree(outdir, product_base_dir, yml, pool, flavor, tree_report, suppor
160160 create_updateinfo_xml (maindir , yml , pool , flavor , debugdir , sourcedir )
161161
162162 # Add License File and create extra .license directory
163- if yml ['iso' ] and yml ['iso' ].get ( ' tree' , None ) != 'drop' :
163+ if yml ['iso' ] and yml ['iso' ].tree != 'drop' :
164164 licensefilename = '/license.tar'
165165 if os .path .exists (maindir + '/license-' + yml ['name' ] + '.tar' ) or os .path .exists (maindir + '/license-' + yml ['name' ] + '.tar.gz' ):
166166 licensefilename = '/license-' + yml ['name' ] + '.tar'
@@ -210,15 +210,15 @@ def create_tree(outdir, product_base_dir, yml, pool, flavor, tree_report, suppor
210210 # presumably you wouldn't need a bootable iso for source and
211211 # debuginfo packages.
212212 if yml ['iso' ]:
213- if workdir == maindir and yml ['iso' ][ ' base' ] :
213+ if workdir == maindir and yml ['iso' ]. base :
214214 agama_arch = yml ['architectures' ][0 ]
215215 note (f"Export main tree into agama iso file for { agama_arch } " )
216216 create_agama_iso (outdir , yml ['iso' ], yml ['build_options' ], pool , workdir , application_id , agama_arch )
217217 else :
218218 create_iso (outdir , yml ['iso' ], workdir , application_id )
219219
220220 # cleanup
221- if yml ['iso' ][ ' tree' ] == 'drop' :
221+ if yml ['iso' ]. tree == 'drop' :
222222 shutil .rmtree (workdir )
223223
224224 # create SBOM data
0 commit comments