summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-01-03 12:15:04 +0100
committerGeorg Brandl <georg@python.org>2009-01-03 12:15:04 +0100
commit3bf92166f17abdaff79fa7b58fb193cc54199f35 (patch)
tree6db3c37d5d7c7d85aebd946579b26ae4afcb9208 /utils
parent584e85e0759f969b22e72d954e5bded3bcc41682 (diff)
downloadsphinx-3bf92166f17abdaff79fa7b58fb193cc54199f35.tar.gz
Some more license nits.
Diffstat (limited to 'utils')
-rwxr-xr-xutils/check_sources.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/utils/check_sources.py b/utils/check_sources.py
index 0f834fca..c244d9c0 100755
--- a/utils/check_sources.py
+++ b/utils/check_sources.py
@@ -7,7 +7,7 @@
Make sure each Python file has a correct file header
including copyright and license information.
- :copyright: 2006-2008 by Georg Brandl.
+ :copyright: Copyright 2006-2009 by Georg Brandl.
:license: GNU GPL, see LICENSE for more details.
"""
@@ -30,7 +30,8 @@ def checker(*suffixes, **kwds):
name_mail_re = r'[\w ]+(<.*?>)?'
-copyright_re = re.compile(r'^ :copyright: 200\d(-200\d)? by %s(, %s)*[,.]$' %
+copyright_re = re.compile(r'^ :copyright: Copyright 200\d(-200\d)?'
+ r'by %s(, %s)*[,.]$' %
(name_mail_re, name_mail_re))
license_re = re.compile(r" :license: (.*?).\n")
copyright_2_re = re.compile(r'^ %s(, %s)*[,.]$' %