From ee2a634952e812670b04c38c844c46b3c1e188b0 Mon Sep 17 00:00:00 2001 From: Christoph Lehmann <christoph.lehmann@ufz.de> Date: Thu, 9 Jun 2016 09:40:10 +0200 Subject: [PATCH] [scr/doc] made compatible with python < 3.4 --- scripts/doc/normalize-param-cache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/doc/normalize-param-cache.py b/scripts/doc/normalize-param-cache.py index 76b084a4f72..942c5efe1fc 100755 --- a/scripts/doc/normalize-param-cache.py +++ b/scripts/doc/normalize-param-cache.py @@ -43,7 +43,7 @@ for inline in sys.stdin: line = line.strip() lineno = int(lineno) - m = comment.fullmatch(line) + m = comment.match(line) if m: if state != "getter": write_out("UNNEEDED", oldpath, oldlineno, oldline) @@ -56,7 +56,7 @@ for inline in sys.stdin: continue - m = comment_special.fullmatch(line) + m = comment_special.match(line) if m: if state != "getter": write_out("UNNEEDED", oldpath, oldlineno, oldline) -- GitLab