cmd = '%s %s' % (global_options.latex_program, tmpfile);
ly.debug_output ("Executing: %s\n" % cmd);
run_env = os.environ.copy()
- run_env['LC_ALL:'] = 'C'
+ run_env['LC_ALL'] = 'C'
### unknown why this is necessary
universal_newlines = True
existing = open (filename, 'r').read ()
if self.relevant_contents (existing) != self.relevant_contents (self.full_ly ()):
- warning ("%s: duplicate filename but different contents of orginal file,\n\
+ warning ("%s: duplicate filename but different contents of original file,\n\
printing diff against existing file." % filename)
ly.stderr_write (self.filter_pipe (self.full_ly (), 'diff -u %s -' % filename))
else:
if os.path.exists (xmlfilename):
diff_against_existing = self.filter_pipe (self.contents, 'diff -u %s - ' % xmlfilename)
if diff_against_existing:
- warning (_ ("%s: duplicate filename but different contents of orginal file,\n\
+ warning (_ ("%s: duplicate filename but different contents of original file,\n\
printing diff against existing file.") % xmlfilename)
ly.stderr_write (diff_against_existing)
else:
cmd = '%s -c -o %s %s' % (global_options.texinfo_program, outfile, tmpfile);
ly.debug_output ("Executing: %s\n" % cmd);
run_env = os.environ.copy()
- run_env['LC_ALL:'] = 'C'
+ run_env['LC_ALL'] = 'C'
### unknown why this is necessary
universal_newlines = True