]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/build/extract_texi_filenames.py
Get rid of some compiler warnings; Fix chdir handling of errors
[lilypond.git] / scripts / build / extract_texi_filenames.py
index 7dd41eeadec97e851683faaeb97b872a830291fd..a3577ae830a77316570b37806ce415eee9180931 100644 (file)
@@ -131,8 +131,8 @@ def expand_includes (m, filename):
                 return extract_sections (filepath)[1]
         if not (include_name in known_missing_files):
             # Not found
-            print 'No such file: ' + include_name
-            print 'Search path: ' + ':'.join (include_path)
+            print 'Warning: No such file: ' + include_name + \
+                  ' (search path: ' + ':'.join (include_path)+')'
         return ''
 
 lang_re = re.compile (r'^@documentlanguage (.+)', re.M)