summaryrefslogtreecommitdiff
path: root/scripts/check_sources.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-02-05 13:11:54 +0100
committerGeorg Brandl <georg@python.org>2012-02-05 13:11:54 +0100
commit384e3a8e9aa2b72b16e0daede06c5973305ae9cd (patch)
treea8e016d4b500242a0fad321418955bf610ae3a36 /scripts/check_sources.py
parent7d9fd398089c674c839f8e095dee022b087cf19f (diff)
parent69af79be2e99f8d7124607c27d8a35389416f3f5 (diff)
downloadpygments-384e3a8e9aa2b72b16e0daede06c5973305ae9cd.tar.gz
Merge Fantom lexer from https://bitbucket.org/ivan_inozemtsev/pygments-main
Diffstat (limited to 'scripts/check_sources.py')
-rwxr-xr-xscripts/check_sources.py4
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)