lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5839 Fix tran


From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] #5839 Fix translation-status.py with Python 3
Date: Tue, 10 Mar 2020 13:47:08 -0000

pushed to staging to unlock translators (again)

commit d4b0946668624bf4978aff4d58055db84abbcdf7
Author:     Jonas Hahnfeld <hahnjo@hahnjo.de>
AuthorDate: Tue Mar 10 09:59:29 2020 +0100
Commit:     Jonas Hahnfeld <hahnjo@hahnjo.de>
CommitDate: Tue Mar 10 09:59:29 2020 +0100

    translations-status: Correctly reference self.filename

commit aeb59680b1ec58867da4f08ab48ac3207c0dc4b4
Author:     Jonas Hahnfeld <hahnjo@hahnjo.de>
AuthorDate: Tue Mar 10 09:58:25 2020 +0100
Commit:     Jonas Hahnfeld <hahnjo@hahnjo.de>
CommitDate: Tue Mar 10 09:58:25 2020 +0100

    translations-status: Call locals() outside of list comprehension

    Otherwise Python 3 throws KeyErrors because it's not getting the
    local variables from the function (in particular p).

commit 12315a152f09bfd09ac4ea56244c3e643f188afb
Author:     Jonas Hahnfeld <address@hidden>
AuthorDate: Tue Mar 10 09:57:00 2020 +0100
Commit:     Jonas Hahnfeld <address@hidden>
CommitDate: Tue Mar 10 09:57:00 2020 +0100

    translations-status: Use str.maketrans()

    It's now a static function of the builtin type str, not in the
    string module. It wasn't marked as deprecated in Python 2...

[issues:#5839] Fix translation-status.py with Python 3

Status: Started
Created: Tue Mar 10, 2020 09:06 AM UTC by Jonas Hahnfeld
Last Updated: Tue Mar 10, 2020 11:49 AM UTC
Owner: Jonas Hahnfeld

Fix translation-status.py with Python 3

Individual commits:
1) translations-status: Use str.maketrans()

It's now a static function of the builtin type str, not in the
string module. It wasn't marked as deprecated in Python 2...

2) translations-status: Call locals() outside of list comprehension

Otherwise Python 3 throws KeyErrors because it's not getting the
local variables from the function (in particular p).

3) translations-status: Correctly reference self.filename

http://codereview.appspot.com/581800043


Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

[Prev in Thread] Current Thread [Next in Thread]