From: Erik Winkels Date: Mon, 10 Jun 2024 11:35:56 +0000 (+0200) Subject: Update version regex for Python 3. X-Git-Tag: rec-5.2.0-alpha0~25^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bad7c8e8c8dce8a046e7c48959e9976936ae561;p=thirdparty%2Fpdns.git Update version regex for Python 3. (I think Python 3 and not Python 3.something specific.) --- diff --git a/build-scripts/docker/repo-test/generate-repo-files.py b/build-scripts/docker/repo-test/generate-repo-files.py index 86ed44bfea..264b85d82e 100755 --- a/build-scripts/docker/repo-test/generate-repo-files.py +++ b/build-scripts/docker/repo-test/generate-repo-files.py @@ -218,8 +218,8 @@ def run (tag): print('Running Docker container tagged {}...'.format(tag)) cp = subprocess.run(['docker', 'run', tag], stdout=subprocess.PIPE, stderr=subprocess.STDOUT) - version = re.search('(PowerDNS Authoritative Server|PowerDNS Recursor|' + - 'dnsdist) (\d+\.\d+\.\d+(-\w+)?)', + version = re.search(r'(PowerDNS Authoritative Server|PowerDNS Recursor|' + + r'dnsdist) (\d+\.\d+\.\d+(-\w+)?)', cp.stdout.decode()) if g_verbose: print(cp.stdout.decode())