From 36c155c893954040236832e80756ba79cca61185 Mon Sep 17 00:00:00 2001 From: Pierre-Marie de Rodat Date: Tue, 25 Jan 2022 13:27:36 +0000 Subject: [PATCH] [Ada] doc/share/conf.py: fix string handling gcc/ada/ * doc/share/conf.py: Remove spurious call to ".decode()". --- 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 0f7f963..bb36bfa 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 '' -- 2.7.4