]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2969] fix space in the release version
authorAndrei Pavel <andrei@isc.org>
Tue, 10 Oct 2023 15:01:53 +0000 (18:01 +0300)
committerAndrei Pavel <andrei@isc.org>
Thu, 26 Oct 2023 13:34:22 +0000 (16:34 +0300)
This caused code blocks in the ARM to have spaces in filenames that in
reality aren't there.

doc/sphinx/conf.py

index 30f7372d27e33ba49a3432fdad261297a83a92bf..79ce3ba19c7745b179b675d7e3f57076f37b08e3 100644 (file)
@@ -34,7 +34,7 @@ with open(config_ac_path) as f:
     for line in f.readlines():
         if line.startswith('AC_INIT(kea'):
             parts = line.split(',')
-            release = parts[1]
+            release = parts[1].strip()
             # If the first line of the ChangeLog announces release, it means
             # that this is the final release.
             dash_parts = release.split('-')