Esempio n. 1
0
def warranty ():
    identify ()
    ly.encoded_write (sys.stdout, '''
%s

  %s

%s
%s
''' % ( _ ('Copyright (c) %s by') % '2001--2014',
        '\n  '.join (authors),
        _ ("Distributed under terms of the GNU General Public License."),
        _ ("It comes with NO WARRANTY.")))
Esempio n. 2
0
def warranty():
    identify()
    ly.encoded_write(
        sys.stdout, '''
%s

%s

%s
%s
''' % (_('Copyright (c) %s by') % '2001--2019', ' '.join(authors),
       _('Distributed under terms of the GNU General Public License.'),
       _('It comes with NO WARRANTY.')))
Esempio n. 3
0
def warranty():
    identify()
    ly.encoded_write(
        sys.stdout,
        """
%s

%s

%s
%s
"""
        % (
            _("Copyright (c) %s by") % "2001--2011",
            " ".join(authors),
            _("Distributed under terms of the GNU General Public License."),
            _("It comes with NO WARRANTY."),
        ),
    )
Esempio n. 4
0
def show_rules(file, from_version, to_version):
    for x in convertrules.conversions:
        if (not from_version or x[0] > from_version) \
           and (not to_version or x[0] <= to_version):
            ly.encoded_write(file, '%s: %s\n' % (tup_to_str(x[0]), x[2]))
Esempio n. 5
0
def progress (s):
    ly.encoded_write (errorport, s + '\n')
Esempio n. 6
0
def show_rules (file, from_version, to_version):
    for x in convertrules.conversions:
        if (not from_version or x[0] > from_version) \
           and (not to_version or x[0] <= to_version):
            ly.encoded_write  (file, '%s: %s\n' % (tup_to_str (x[0]), x[2]))
Esempio n. 7
0
def identify (port=sys.stderr):
    ly.encoded_write (port, '%s (GNU LilyPond) %s\n' % (program_name, program_version))
Esempio n. 8
0
def identify():
    ly.encoded_write(sys.stdout, "%s (GNU LilyPond) %s\n" % (ly.program_name, ly.program_version))