From: fred Date: Tue, 26 Mar 2002 21:44:49 +0000 (+0000) Subject: lilypond-1.1.10 X-Git-Tag: release/1.5.59~2707 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1a94fae8d9fd36a590cb72d4a179cf21464529ca;p=lilypond.git lilypond-1.1.10 --- diff --git a/scripts/mudela-book.py b/scripts/mudela-book.py index bdfc00b4ff..577f96cb58 100644 --- a/scripts/mudela-book.py +++ b/scripts/mudela-book.py @@ -598,13 +598,16 @@ def main(): break except: continue - if std_init_filename == '': - print "error: Can't find mudela-book-defs.py" - os.exit(-1) - f = open(std_init_filename) - s = f.read() - f.close() - defined_mudela_cmd = eval(s) + defined_mudela_cmd_re = {} + try: + f = open(std_init_filename) + s = f.read() + f.close() + defined_mudela_cmd = eval(s) # UGH + except IOError, w: + sys.stderr.write("%s (`%s')\n" % (w[1], std_init_filename)) +# sys.exit(1) + if initfile != '': f = open(initfile)