def _do_licenses()

in tools/checker_demo.py [0:0]


def _do_licenses(out, licenses):
  for lic in licenses:
    path = lic['license_text']
    with codecs.open(path, encoding='utf-8') as license_file:
      out.write('= %s\n' % path)
      out.write(license_file.read())