public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6944] [Ada] doc/share/conf.py: fix string handling
@ 2022-01-31 10:47 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-01-31 10:47 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:36c155c893954040236832e80756ba79cca61185

commit r12-6944-g36c155c893954040236832e80756ba79cca61185
Author: Pierre-Marie de Rodat <derodat@adacore.com>
Date:   Tue Jan 25 13:27:36 2022 +0000

    [Ada] doc/share/conf.py: fix string handling
    
    gcc/ada/
    
            * doc/share/conf.py: Remove spurious call to ".decode()".

Diff:
---
 gcc/ada/doc/share/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/ada/doc/share/conf.py b/gcc/ada/doc/share/conf.py
index 0f7f963d3c7..bb36bfa0c6a 100644
--- a/gcc/ada/doc/share/conf.py
+++ b/gcc/ada/doc/share/conf.py
@@ -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 ''


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-31 10:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-31 10:47 [gcc r12-6944] [Ada] doc/share/conf.py: fix string handling Pierre-Marie de Rodat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).