[Ada] doc/share/conf.py: fix string handling

gcc/ada/

	* doc/share/conf.py: Remove spurious call to ".decode()".
This commit is contained in:
Pierre-Marie de Rodat 2022-01-25 13:27:36 +00:00
parent 2dbc237e86
commit 36c155c893
1 changed files with 1 additions and 1 deletions

View 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 ''