Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(169)

Unified Diff: scripts/abc2ly.py

Issue 561060043: python: replace <> with !=
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « python/musicxml.py ('k') | scripts/auxiliar/musicxml_generate_intervals.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/abc2ly.py
diff --git a/scripts/abc2ly.py b/scripts/abc2ly.py
index 508cc93657ac53691a562e8221c06b4aace0b3f3..bb441d2b9514049373291ef3ba6e085d0ed2c558 100644
--- a/scripts/abc2ly.py
+++ b/scripts/abc2ly.py
@@ -894,7 +894,7 @@ def parse_duration (str, parser_state):
def try_parse_rest (str, parser_state):
- if not str or str[0] <> 'z' and str[0] <> 'x':
+ if not str or str[0] != 'z' and str[0] != 'x':
return str
__main__.lyric_idx = -1
@@ -1210,12 +1210,12 @@ def try_parse_bar (str,state):
if str[:1] == '}':
close_beam_state(state)
- if bs <> None or state.next_bar != '':
+ if bs != None or state.next_bar != '':
if state.parsing_tuplet:
state.parsing_tuplet =0
voices_append ('} ')
- if bs <> None:
+ if bs != None:
clear_bar_acc(state)
close_beam_state(state)
voices_append (bs)
« no previous file with comments | « python/musicxml.py ('k') | scripts/auxiliar/musicxml_generate_intervals.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b