[svn r37880] removing public API from test.config (only one rather
internal usage, anyway) --HG-- branch : trunk
This commit is contained in:
parent
e88a6c5fc3
commit
f9b8a810cd
|
@ -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()
|
||||
|
|
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue