Commit b153d68b authored by Godefroid Chapelle's avatar Godefroid Chapelle

Wording for the undefined scripts name warning.

parent adb685ea
......@@ -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