def checkForTracebacks(self):
        try:
            with open(self.appServer.errorLog) as f:
                data = f.read()
            if 'Traceback (most recent call last)' in data:
                print >> sys.stderr, "Contents of error.log after test:"
                print >> sys.stderr, data
                sys.stderr.flush()
        except __HOLE__, err:
            if err.args[0] != errno.ENOENT:
                raise
dataset/ETHPy150Open sassoftware/conary/conary_test/lib/repserver.py/ConaryServer.checkForTracebacks