[svn r37880] removing public API from test.config (only one rather

internal usage, anyway)

--HG--
branch : trunk
This commit is contained in:
hpk 2007-02-03 19:50:35 +01:00
parent e88a6c5fc3
commit f9b8a810cd
2 changed files with 2 additions and 10 deletions

View File

@ -118,14 +118,6 @@ class Config(object):
except KeyError:
return self.conftest.rget(name, path)
def getvalue_from_confpath(self, name, path):
""" same as previous, but returns only value from explicit
conftest path
"""
if isinstance(path, str):
path = py.path.local(path)
return self.conftest.rget_path(name, path)
def initsession(self):
""" return an initialized session object. """
cls = self._getsessionclass()

View File

@ -50,8 +50,8 @@ class HostRSync(py.execnet.RSync):
return False
dir, base = os.path.split(path)
try:
rsync_roots = self.config.getvalue_from_confpath("dist_rsyncroots",
dir)
name = "dist_rsyncroots"
rsync_roots = self.config.conftest.rget_path(name, dir)
except AttributeError:
rsync_roots = None
if base == '.svn':