trying a bit harder to get a realpath for the py lib because

execnet-rsync does not support working with links

--HG--
branch : trunk
This commit is contained in:
holger krekel 2009-10-29 20:30:09 +01:00
parent 30710a9cd6
commit 609776bf26
1 changed files with 2 additions and 2 deletions

View File

@ -261,8 +261,8 @@ class Config(object):
conftestroots = config.getconftest_pathlist("rsyncdirs")
if conftestroots:
roots.extend(conftestroots)
pydirs = [py.path.local(py.__file__).dirpath(),
py._impldir]
pydirs = [x.realpath() for x in [py.path.local(py.__file__).dirpath(),
py._impldir]]
roots = [py.path.local(root) for root in roots]
for root in roots:
if not root.check():