2011/9/9  <reinhold.kainho...@gmail.com>:
> http://codereview.appspot.com/4996044/diff/1/scripts/lilypond-book.py#oldcode691
> scripts/lilypond-book.py:691: + '.%s' % global_options.format)
> On 2011/09/09 19:19:47, janek wrote:
>>
>> Pardon my ignorance, but what the
>> '.%s' %
>> part was doing before?
>
> It simply prepended the "." and the correct file extension to the base
> name (which is the file name without extension).
>
> Granted, writing it as
>  base_file_name + "." + global_options.format
> would have given the same result...

ok, thanks!
Janek

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to