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 92468b2254..321d0ba257 100644
--- a/scripts/lib/recipetool/create_buildsys_python.py
+++ b/scripts/lib/recipetool/create_buildsys_python.py
@@ -254,7 +254,7 @@ class PythonRecipeHandler(RecipeHandler):
254 254
255 if license_str: 255 if license_str:
256 for i, line in enumerate(lines_before): 256 for i, line in enumerate(lines_before):
257 if line.startswith('LICENSE = '): 257 if line.startswith('##LICENSE_PLACEHOLDER##'):
258 lines_before.insert(i, '# NOTE: License in setup.py/PKGINFO is: %s' % license_str) 258 lines_before.insert(i, '# NOTE: License in setup.py/PKGINFO is: %s' % license_str)
259 break 259 break
260 260