stresstest.py
def combine_logs(combinedlog, iterable, mode="wb"):
    """ write all lines (iterable) into a single log file. """
    fp = io.open(combinedlog, mode)
    if ENCODING == 'utf-16':
        import codecs
        fp.write(codecs.BOM_UTF16)
    for chunk in iterable:
        fp.write(chunk)
    fp.close()
 write all lines (iterable) into a single log file. 
write all lines (iterable) into a single log file.
write all lines ( iterable ) into a single log file .
def combine_logs(combinedlog, iterable, mode="wb"):
    fp = io.open(combinedlog, mode)
    if ENCODING == 'utf-16':
        import codecs
        fp.write(codecs.BOM_UTF16)
    for chunk in iterable:
        fp.write(chunk)
    fp.close()
def combine_logs ( combinedlog , iterable , mode = "wb" ) : fp = io . open ( combinedlog , mode ) if ENCODING == 'utf-16' : import codecs fp . write ( codecs . BOM_UTF16 ) for chunk in iterable : fp . write ( chunk ) fp . close ( )
write all lines (iterable) into a single log file.
write all lines ( iterable ) into a single log file .
""" write all lines (iterable) into a single log file. """
combinedlog
iterable
mode