From: Otto Moerbeek Date: Thu, 30 Oct 2025 11:38:16 +0000 (+0100) Subject: Better words in comment X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9dd5af8c6a44c76a163bc63434925659d47e59ef;p=thirdparty%2Fpdns.git Better words in comment Signed-off-by: Otto Moerbeek --- diff --git a/builder-support/helpers/update-rust-library-version.py b/builder-support/helpers/update-rust-library-version.py index 8890429380..b8b0a0af95 100755 --- a/builder-support/helpers/update-rust-library-version.py +++ b/builder-support/helpers/update-rust-library-version.py @@ -15,7 +15,7 @@ def main(): package_name = sys.argv[2] version = sys.argv[3] - # convert the serial so that it conforms to Rust rules: x.x.x-whatever + # convert the version so that it conforms to Rust rules: x.x.x-whatever version = re.sub(r'([0-9]+\.[0-9]+\.[0-9]+)\.', r'\1-', version) with tempfile.NamedTemporaryFile(mode='w+t', encoding='utf-8', delete=False) as generated_fp: with open(file_name, 'r', encoding='utf-8') as cargo_file: