diff options
author | Guido van Rossum <guido@python.org> | 1995-01-04 19:21:21 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-04 19:21:21 (GMT) |
commit | 227a0a1e2d05596d706c2840e6fb407472075e72 (patch) | |
tree | 7f9c51b2e84bdd6fe36d05fa1c0b2fd352ec7ce0 /Misc/Fixcprt.py | |
parent | f456b6d691b7d6a38d2f48e1da216ba1d4340ce7 (diff) | |
download | cpython-227a0a1e2d05596d706c2840e6fb407472075e72.zip cpython-227a0a1e2d05596d706c2840e6fb407472075e72.tar.gz cpython-227a0a1e2d05596d706c2840e6fb407472075e72.tar.bz2 |
Added 1995 to copyright message; added a few people to acks again...
Diffstat (limited to 'Misc/Fixcprt.py')
-rwxr-xr-x | Misc/Fixcprt.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Misc/Fixcprt.py b/Misc/Fixcprt.py index 7b447fb..fa28aaa 100755 --- a/Misc/Fixcprt.py +++ b/Misc/Fixcprt.py @@ -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' |