diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2017-01-06 10:07:09 -0600 |
---|---|---|
committer | Paul Eggleton <paul.eggleton@linux.intel.com> | 2018-05-04 23:57:52 +1200 |
commit | 8fc103d3d6bf50496999685111be1d2e7b1334f7 (patch) | |
tree | 4e4d94fcc32106b34af126e1a9763915570b388d | |
parent | d94a3524b246348348687ea6ecd5da74daeaccaf (diff) | |
download | openembedded-core-contrib-8fc103d3d6bf50496999685111be1d2e7b1334f7.tar.gz |
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>
-rwxr-xr-x | rrs/tools/rrs_distros.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rrs/tools/rrs_distros.py b/rrs/tools/rrs_distros.py index 60820f4e69..7b5610b37b 100755 --- a/rrs/tools/rrs_distros.py +++ b/rrs/tools/rrs_distros.py @@ -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: |