[Ada] doc/share/conf.py: fix string handling
gcc/ada/ * doc/share/conf.py: Remove spurious call to ".decode()".
This commit is contained in:
parent
2dbc237e86
commit
36c155c893
|
@ -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 ''
|
||||
|
|
Loading…
Reference in New Issue