]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/etf2ly.py
Run grand-replace for 2012
[lilypond.git] / scripts / etf2ly.py
index 26fd2e03ae1e4590cfe42c9e2795ec35c0299700..0e7fb9c83e6fd9c7af8c33a83077680901646c05 100644 (file)
@@ -1,5 +1,20 @@
 #!@TARGET_PYTHON@
 
+# This file is part of LilyPond, the GNU music typesetter.
+#
+# LilyPond is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# LilyPond is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with LilyPond.  If not, see <http://www.gnu.org/licenses/>.
+
 # info mostly taken from looking at files. See also
 # http://lilypond.org/wiki/?EnigmaTransportFormat
 
@@ -1116,10 +1131,13 @@ class Etf_file:
 
         
         while c and c.number <> endno:
-            thread.append (c) c = c.next
+            d = c # hack to avoid problem with build/scripts/grand-replace.py
+            thread.append (d)
+            c = c.next
 
         if c: 
-            thread.append (c)
+            d = c # hack to avoid problem with build/scripts/grand-replace.py
+            thread.append (d)
         
         return thread
 
@@ -1170,7 +1188,7 @@ def warranty ():
 
 %s
 %s
-''' % ( _ ('Copyright (c) %s by') % '2001--2009',
+''' % ( _ ('Copyright (c) %s by') % '2001--2012',
         '\n  '.join (authors),
         _ ('Distributed under terms of the GNU General Public License.'),
         _ ('It comes with NO WARRANTY.')))