aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTony Aiuto <aiuto@google.com>2023-02-08 16:01:29 -0500
committerTony Aiuto <aiuto@google.com>2023-02-08 16:01:29 -0500
commit4c4d2e9c71c5e05faa128943e35f511688217451 (patch)
tree8e2e10f371630db72f2c411df280f53caddcc0ab /tools
parent9a58c10b64b632ed1567d61b91f8167195164922 (diff)
downloadbazelbuild-rules_license-4c4d2e9c71c5e05faa128943e35f511688217451.tar.gz
Grab back of little style nits which will make it easier to
sync this code back and forth with the Google branches. - restore copyright notices (This keeps compliance teams happy) - change public visibilty to restricted ones, so end users can not depend on pieces of the vendored in library - remove printf debugging.
Diffstat (limited to 'tools')
-rw-r--r--tools/checker_demo.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/checker_demo.py b/tools/checker_demo.py
index 1075621..6cdf07f 100644
--- a/tools/checker_demo.py
+++ b/tools/checker_demo.py
@@ -90,7 +90,6 @@ def _do_copyright_notices(out, licenses):
if l.get('package_version'):
name = name + "/" + l['package_version']
# IGNORE_COPYRIGHT: Not a copyright notice. It is a variable holding one.
- print(l)
out.write('package(%s), copyright(%s)\n' % (name, l['copyright_notice']))
@@ -122,7 +121,6 @@ def main():
top_level_target = target['top_level_target']
dependencies = target['dependencies']
licenses = target['licenses']
- print(licenses)
err = 0
with codecs.open(args.report, mode='w', encoding='utf-8') as rpt: