mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 12:49:01 +02:00
rrs/tools/rrs_distros.py: Don't open files in binary mode
It ends on failures with Python 3.x when do a split method over binary data. Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
parent
d94a3524b2
commit
8fc103d3d6
|
@ -70,7 +70,7 @@ def search_package_in_distros(pkglst_dir, recipe, data):
|
|||
else:
|
||||
pn = recipe_name
|
||||
|
||||
f = open(os.path.join(pkglst_dir, distro_file), "rb")
|
||||
f = open(os.path.join(pkglst_dir, distro_file), "r")
|
||||
for line in f:
|
||||
(pkg, section) = line.split(":")
|
||||
if pn == pkg:
|
||||
|
|
Loading…
Reference in New Issue
Block a user