summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_buildsys_python.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/recipetool/create_buildsys_python.py')
-rw-r--r--scripts/lib/recipetool/create_buildsys_python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create_buildsys_python.py b/scripts/lib/recipetool/create_buildsys_python.py
index 5cbea2abba..55cce0e942 100644
--- a/scripts/lib/recipetool/create_buildsys_python.py
+++ b/scripts/lib/recipetool/create_buildsys_python.py
@@ -516,7 +516,7 @@ class PythonRecipeHandler(RecipeHandler):
516 except (OSError, subprocess.CalledProcessError): 516 except (OSError, subprocess.CalledProcessError):
517 pass 517 pass
518 else: 518 else:
519 for line in dep_output.splitlines(): 519 for line in dep_output.decode('utf-8').splitlines():
520 line = line.rstrip() 520 line = line.rstrip()
521 dep, filename = line.split('\t', 1) 521 dep, filename = line.split('\t', 1)
522 if filename.endswith('/setup.py'): 522 if filename.endswith('/setup.py'):