public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-6944] [Ada] doc/share/conf.py: fix string handling Date: Mon, 31 Jan 2022 10:47:17 +0000 (GMT) [thread overview] Message-ID: <20220131104717.A0BBD3858021@sourceware.org> (raw) 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 ''
reply other threads:[~2022-01-31 10:47 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220131104717.A0BBD3858021@sourceware.org \ --to=pmderodat@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).