From: Han-Wen Nienhuys Date: Sun, 23 Mar 2008 17:04:15 +0000 (-0300) Subject: Don't read ondisk .ly file: hashing should ensure integrity. X-Git-Tag: release/2.11.43-1~9 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=44bb766e7ee3afd47248d1ae4f5dd43a870dda52;p=lilypond.git Don't read ondisk .ly file: hashing should ensure integrity. --- diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index 272c04888a..3ceb9c4518 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -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):