]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/abc2ly.py
* scripts/abc2ly.py (try_parse_comment): idem.
[lilypond.git] / scripts / abc2ly.py
index ba60c1cfeeb447230de77f191f2020c2e31f1576..9b15bfceb0e2d2d1971149ec04f14100300d11db 100644 (file)
@@ -1262,7 +1262,7 @@ def try_parse_comment (str):
 #convention, such as most music written before 1700, or ethnic music in
 #non-western scales, it is necessary to be able to tell a translator that
 #the barlines should not affect its interpretation of the pitch.  
-            if (string.find(str,'nobarlines') > 0):
+            if 'nobarlines' in str:
                 nobarlines = 1
         elif str[0:3] == '%LY':
             p = string.find(str, 'voices')