]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/lilypond-book.py
* scripts/abc2ly.py (try_parse_comment): idem.
[lilypond.git] / scripts / lilypond-book.py
index 1c08e6a247d8581a2ad8d5881d0c3a8d3dbda394..1e368d455cc589d7b3740b5bc1e6ac2ce3cbce27 100644 (file)
@@ -845,7 +845,7 @@ class Lilypond_snippet (Snippet):
         options = split_options (option_string)
 
         for i in options:
-            if string.find (i, '=') > 0:
+            if '=' in i:
                 (key, value) = re.split ('\s*=\s*', i)
                 self.option_dict[key] = value
             else: