[svn r37381] Add a shortcut.

--HG--
branch : trunk
This commit is contained in:
fijal 2007-01-26 12:50:22 +01:00
parent 3d301edbc7
commit c72120b8fc
1 changed files with 6 additions and 1 deletions

View File

@ -252,6 +252,11 @@ class Collector(object):
def getouterr(self):
return self.captured_out, self.captured_err
def get_collector_trail(self):
""" Shortcut
"""
return self.config.get_collector_trail(self)
class FSCollector(Collector):
def __init__(self, fspath, parent=None):
fspath = py.path.local(fspath)