Commit 2271495f authored by gotcha's avatar gotcha

Wording for the undefined scripts name warning.

git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@110954 62d5b8a3-27da-0310-9561-8e5933582275
parent 53d91da4
......@@ -966,10 +966,10 @@ def scripts(reqs, working_set, executable, dest,
if name not in entry_points_names:
if name == target:
logger.warning("Could not generate script '%s' as it is not "
"defined in the target egg.", name)
"defined in the egg entry points.", name)
else:
logger.warning("Could not generate script '%s' as script "
"'%s' is not defined in the target egg.", name, target)
"'%s' is not defined in the egg entry points.", name, target)
if interpreter:
sname = os.path.join(dest, interpreter)
......
......@@ -361,7 +361,7 @@ If a wrong script name is provided, buildout tells about it:
>>> print system(buildout),
Uninstalling demo.
Installing demo.
Could not generate script 'undefined' as it is not defined in the target egg.
Could not generate script 'undefined' as it is not defined in the egg entry points.
>>> ls(sample_buildout, 'bin')
- buildout
......@@ -381,7 +381,7 @@ If a wrong script name is provided, buildout tells about it:
>>> print system(buildout),
Uninstalling demo.
Installing demo.
Could not generate script 'foo' as script 'undefined' is not defined in the target egg.
Could not generate script 'foo' as script 'undefined' is not defined in the egg entry points.
>>> ls(sample_buildout, 'bin')
- buildout
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment