summaryrefslogtreecommitdiff
path: root/utils/check_sources.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-01-02 21:11:23 +0100
committerGeorg Brandl <georg@python.org>2010-01-02 21:11:23 +0100
commit3c09b7ab8ffecc064b3755d65a3bd6fdccdfd1c8 (patch)
treebf611188d0b84eb1ab690313a989d2847606bde6 /utils/check_sources.py
parentf4da14806c69fd1eb90a30ace625edc01d2ca5fc (diff)
downloadsphinx-git-3c09b7ab8ffecc064b3755d65a3bd6fdccdfd1c8.tar.gz
Update check_sources; we now have 201x.
Diffstat (limited to 'utils/check_sources.py')
-rwxr-xr-xutils/check_sources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/check_sources.py b/utils/check_sources.py
index d89396f28..ec7695d57 100755
--- a/utils/check_sources.py
+++ b/utils/check_sources.py
@@ -30,7 +30,7 @@ def checker(*suffixes, **kwds):
name_mail_re = r'[\w ]+(<.*?>)?'
-copyright_re = re.compile(r'^ :copyright: Copyright 200\d(-200\d)? '
+copyright_re = re.compile(r'^ :copyright: Copyright 200\d(-20\d\d)? '
r'by %s(, %s)*[,.]$' %
(name_mail_re, name_mail_re))
license_re = re.compile(r" :license: (.*?).\n")