Lines Matching refs:copyright
15 """Adds copyright notices to all the files that need them under the
18 usage: copyright.py [--check]
20 With --check, prints out all the files missing the copyright notice and exits
90 copyright message into them unless they already have it or are empty.
92 The copyright message goes into the first non-whitespace, non-shebang line
95 copyright = comment(COPYRIGHT, comment_prefix) + '\n'
102 sys.stdout.write(copyright)
107 open(file, 'a').write(copyright + licensed)
111 """Prints names of all files missing a copyright message.
114 contain the copyright message. Prints the names of all the files that
128 print(file, ' has no copyright message.')