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.")))
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.')))
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."), ), )
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]))
def progress (s): ly.encoded_write (errorport, s + '\n')
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]))
def identify (port=sys.stderr): ly.encoded_write (port, '%s (GNU LilyPond) %s\n' % (program_name, program_version))
def identify(): ly.encoded_write(sys.stdout, "%s (GNU LilyPond) %s\n" % (ly.program_name, ly.program_version))