]> gcc.gnu.org Git - gcc.git/commitdiff
[Ada] doc/share/conf.py: fix string handling
authorPierre-Marie de Rodat <derodat@adacore.com>
Tue, 25 Jan 2022 13:27:36 +0000 (13:27 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 31 Jan 2022 10:46:27 +0000 (10:46 +0000)
gcc/ada/

* doc/share/conf.py: Remove spurious call to ".decode()".

gcc/ada/doc/share/conf.py

index 0f7f963d3c72a2948b9baec4aa59ef56d12eef92..bb36bfa0c6a78557421bb6a9b4a9eb813adef91d 100644 (file)
@@ -43,7 +43,7 @@ def get_gnat_version():
                   r'constant String := "([^\(\)]+)\(.*\)?";',
                   gnatvsn_content)
     if m:
-        return m.group(1).strip().decode()
+        return m.group(1).strip()
     else:
         if texi_fsf and os.path.exists(basever):
             return ''
This page took 0.063533 seconds and 5 git commands to generate.