Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(768)

Unified Diff: python/book_snippets.py

Issue 549740043: Cleanup python/ build rules.
Patch Set: rebase on whitespace changes Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « python/book_base_test.py ('k') | python/lilylib.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: python/book_snippets.py
diff --git a/python/book_snippets.py b/python/book_snippets.py
index 411e7cfd7daa33866376a9c071a849bbadc4d941..7583663cf81f449f6f63b2d528a04b0d01e31073 100644
--- a/python/book_snippets.py
+++ b/python/book_snippets.py
@@ -294,7 +294,7 @@ class Snippet (Chunk):
self.formatter = formatter
self.line_number = line_number
self.global_options = global_options
- self.replacements = {'program_version': ly.program_version,
+ self.replacements = {'program_version': global_options.information["program_version"],
'program_name': ly.program_name}
# return a shallow copy of the replacements, so the caller can modify
« no previous file with comments | « python/book_base_test.py ('k') | python/lilylib.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b