[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

@ -250,7 +250,12 @@ class Collector(object):
def finishcapture(self):
return None # by default collectors don't capture output
def getouterr(self):
return self.captured_out, self.captured_err
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):