diff options
author | Georg Brandl <georg@python.org> | 2013-01-09 12:50:01 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2013-01-09 12:50:01 +0100 |
commit | b76f3937da3c2766ef667125cb0ec67652a4960e (patch) | |
tree | bdd0469a53aa057e041aff5dc575fde90b49c082 /scripts/check_sources.py | |
parent | bd51b3c608b6cd7601fc0227a65185632fb94568 (diff) | |
parent | d61e25e529a78887c8364126f7f73a2e6651a1e6 (diff) | |
download | pygments-b76f3937da3c2766ef667125cb0ec67652a4960e.tar.gz |
Merged in gentoo90/pygments-main (pull request #124: Add RPM *.spec files lexer)
Diffstat (limited to 'scripts/check_sources.py')
-rwxr-xr-x | scripts/check_sources.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check_sources.py b/scripts/check_sources.py index e1c7544d..d9e5c2ae 100755 --- a/scripts/check_sources.py +++ b/scripts/check_sources.py @@ -7,7 +7,7 @@ Make sure each Python file has a correct file header including copyright and license information. - :copyright: Copyright 2006-2012 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2013 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. """ @@ -30,7 +30,7 @@ def checker(*suffixes, **kwds): name_mail_re = r'[\w ]+(<.*?>)?' -copyright_re = re.compile(r'^ :copyright: Copyright 2006-2012 by ' +copyright_re = re.compile(r'^ :copyright: Copyright 2006-2013 by ' r'the Pygments team, see AUTHORS\.$', re.UNICODE) copyright_2_re = re.compile(r'^ %s(, %s)*[,.]$' % (name_mail_re, name_mail_re), re.UNICODE) |