]> git.donarmstrong.com Git - lilypond.git/commitdiff
Don't read ondisk .ly file: hashing should ensure integrity.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 23 Mar 2008 17:04:15 +0000 (14:04 -0300)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 23 Mar 2008 17:04:15 +0000 (14:04 -0300)
scripts/lilypond-book.py

index 272c04888a8daf0e3830e3db573c8c4a166f9afb..3ceb9c4518b99bdf4106e7396b752c932c17542d 100644 (file)
@@ -1187,13 +1187,6 @@ class LilypondSnippet (Snippet):
         if not re.match ('% eof', lines[-1]):
             return true
         
-        # and FILENAME in self.option_dict
-        #huh?
-
-        if (self.relevant_contents (self.full_ly ())
-            != self.relevant_contents (file (ly_file).read ())):
-            return True
-        
         return False
 
     def png_is_outdated (self):