Skip to content

Commit

Permalink
Fix error caught by MyPy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Chu committed Apr 23, 2019
1 parent ee6cdd2 commit dac7544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osh/cmd_parse.py
Expand Up @@ -196,7 +196,7 @@ def _MakeAssignPair(parse_ctx, # type: ParseContext
# extract what's between brackets
code_str = line[span1.col + span1.length : span2.col]
else:
raise NotImplementedError('%d != %d' % (spid1.line_id, spid2.line_id))
raise NotImplementedError('%d != %d' % (span1.line_id, span2.line_id))
a_parser = parse_ctx.MakeArithParser(code_str, arena)
arena.PushSource(source.LValue(left_token.span_id, close_token.span_id))
try:
Expand Down

0 comments on commit dac7544

Please sign in to comment.