summaryrefslogtreecommitdiff
path: root/macro.py
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-02-10 14:50:20 +0100
committerPeter Simons <simons@cryp.to>2013-02-10 14:50:20 +0100
commitfcca01e501a1aa2ee6e0234099fead44ea27e651 (patch)
treea623c371a23003c0411e4819212564dad3cc92e2 /macro.py
parent935dea6b9b47a15405b4c921a8288f60288a7860 (diff)
downloadautoconf-archive-fcca01e501a1aa2ee6e0234099fead44ea27e651.tar.gz
macro.py: recognize (C) symbol in the license section -- and normalize it to lower case
Diffstat (limited to 'macro.py')
-rwxr-xr-xmacro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/macro.py b/macro.py
index 0d7d158..f2f8533 100755
--- a/macro.py
+++ b/macro.py
@@ -82,7 +82,7 @@ class Macro:
body = collapseText(body)
elif key == "license":
while True:
- match = re.match(r"Copyright \(c\) ([0-9.,-]+) (.*)", body[0])
+ match = re.match(r"Copyright \([cC]\) ([0-9.,-]+) (.*)", body[0])
if not match: break
(year,name) = (match.group(1), match.group(2))
match = re.match(r"(.*) <(.*)>", name)