def _append_to_file(self, data, fpath):
    LOG.info(_LI('data: %(data)r, fpath: %(fpath)r'), {'data': data, 'fpath': fpath})
    with open(fpath, 'a+') as fp:
        fp.write(data)
    return fpath
def _append_to_file(self, data, fpath):
    LOG.info(_LI('data: %(data)r, fpath: %(fpath)r'), {'data': data, 'fpath': fpath})
    with open(fpath, 'a+') as fp:
        fp.write(data)
    return fpath