diff options
author | Georg Brandl <georg@python.org> | 2012-02-06 07:30:30 +0100 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2012-02-06 07:30:30 +0100 |
commit | bb2f7a8bdfce72f688d1c673c087213b73f47447 (patch) | |
tree | 316bc100ad349c4a07ac2b1fe373e9ecf25937ea /scripts/check_sources.py | |
parent | 0af9aeea0bff0b5af3a8801140e641ac38b01ced (diff) | |
parent | a2d3afbf60be0693638a05f0485c445f4d5413da (diff) | |
download | pygments-bb2f7a8bdfce72f688d1c673c087213b73f47447.tar.gz |
Merge newLISP lexer from https://bitbucket.org/cormullion/pygments-main
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 1816d2a7..e1c7544d 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-2011 by the Pygments team, see AUTHORS. + :copyright: Copyright 2006-2012 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 (?:\d{4}-)?2010 by ' +copyright_re = re.compile(r'^ :copyright: Copyright 2006-2012 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) |