DescriptionFix 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
Patch Set 1 #
|