Added 1995 to copyright message; added a few people to acks again...

This commit is contained in:
Guido van Rossum 1995-01-04 19:21:21 +00:00
parent f456b6d691
commit 227a0a1e2d
4 changed files with 20 additions and 12 deletions

View file

@ -8,12 +8,18 @@ import os
import stat
import getopt
oldcprt = 'Copyright 1991, 1992, 1993 by Stichting Mathematisch Centrum,\nAmsterdam, The Netherlands.'
newcprt = 'Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum,\nAmsterdam, The Netherlands.'
oldcprt = """\
Copyright 1991, 1992, 1993, 1994 by Stichting Mathematisch Centrum,
Amsterdam, The Netherlands."""
newcprt = """\
Copyright 1991-1995 by Stichting Mathematisch Centrum, Amsterdam,
The Netherlands."""
oldprog = regex.compile(oldcprt)
newprog = regex.compile(newcprt)
HEADSIZE = 1024
def main():
opts, args = getopt.getopt(sys.argv[1:], 'y:')
agelimit = 0L
@ -36,7 +42,7 @@ def main():
except IOError, msg:
print file, ': open failed :', msg
continue
head = f.read(1024)
head = f.read(HEADSIZE)
if oldprog.search(head) < 0:
if newprog.search(head) < 0:
print file, ': NO COPYRIGHT FOUND'