Commit 9cc71e98 authored by Marco Mariani's avatar Marco Mariani

error message fix

parent 98364770
...@@ -51,7 +51,7 @@ class Recipe: ...@@ -51,7 +51,7 @@ class Recipe:
if os.path.lexists(link): if os.path.lexists(link):
if not os.path.islink(link): if not os.path.islink(link):
raise zc.buildout.UserError( raise zc.buildout.UserError(
'Target link already %r exists but it is not link' % link) 'Target %r already exists but is not a link' % link)
os.unlink(link) os.unlink(link)
os.symlink(linkline, link) os.symlink(linkline, link)
self.logger.debug('Created link %r -> %r' % (link, linkline)) self.logger.debug('Created link %r -> %r' % (link, linkline))
......
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