|
Some cleanups for Python code
Individual changes:
1) Update documentation for Python 3
2) Use gettext.install() for translations
This conveniently installs _() into Python's builtins namespace.
3) Drop require_python_version()
The implemented 'help' for the user by opening the browser does
not work on Linux anyway.
4) Suggested changes for a newer version of Python
Some comments already referred to simpler code, let's do it.
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+14 lines, -80 lines) |
Patch |
|
M |
Documentation/contributor/doc-work.itexi
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Documentation/cs/usage/setup.itely
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Documentation/de/usage/setup.itely
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
python/book_base.py
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
python/book_latex.py
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
python/book_snippets.py
|
View
|
|
2 chunks |
+2 lines, -8 lines |
0 comments
|
Download
|
|
M |
python/book_texinfo.py
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
python/convertrules.py
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
python/lilylib.py
|
View
|
|
3 chunks |
+3 lines, -31 lines |
0 comments
|
Download
|
|
M |
python/musicexp.py
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
python/musicxml.py
|
View
|
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
|
M |
python/musicxml2ly_conversion.py
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
scripts/abc2ly.py
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
scripts/build/create-weblinks-itexi.py
|
View
|
|
1 chunk |
+1 line, -8 lines |
0 comments
|
Download
|
|
M |
scripts/build/mass-link.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
scripts/build/output-distance.py
|
View
|
|
1 chunk |
+1 line, -4 lines |
0 comments
|
Download
|
|
M |
scripts/convert-ly.py
|
View
|
|
3 chunks |
+3 lines, -8 lines |
0 comments
|
Download
|
|
M |
scripts/etf2ly.py
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
scripts/lilypond-book.py
|
View
|
|
2 chunks |
+0 lines, -3 lines |
0 comments
|
Download
|
|
M |
scripts/midi2ly.py
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
|
M |
scripts/musicxml2ly.py
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
Total messages: 1
|