fix(scripts/get_hash_from_file.py): do not write old packages (#19759)

This commit is contained in:
Ivan Max 2024-04-13 20:08:19 +00:00 committed by GitHub
parent 777461783d
commit 47dd1df81d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ def get_pkg_hash_from_Packages(Packages_file, package, version, hash_type="SHA25
break
elif line.startswith(hash_type):
print(line.split(" ")[1])
break
package_list.clear()
def get_Packages_hash_from_Release(Release_file, arch, component, hash_type="SHA256"):
string_to_find = component+'/binary-'+arch+'/Packages'