

def writeMessage(folder, n, headers, body):
    folder = normF(folder)
    headers = ''.join([('%s: %s\n' % (k, v)) for (k, v) in headers.iteritems()])
    contents = ('%s\n%s\n' % (headers, v))
    mkdirs(os.path.join(_mhpath, folder))
    writeFile(os.path.join(_mhpath, folder, str(n)), contents)

dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_mhlib.py writeMessage/VarMisuse@62/81 `body`->`v`