Skip to content

Commit 7ae8aaa

Browse files
committed
Add a missing colon that got misplaced during code cleanup
1 parent 48c98b2 commit 7ae8aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yapf/yapflib/format_decision_state.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def SurroundedByParens(token):
575575
if split_before and prev_token:
576576
clause_start = _PrevLogicalClause(prev_token)
577577
length += opening.total_length - clause_start.total_length
578-
elif not split_before and next_token
578+
elif not split_before and next_token:
579579
clause_end = _NextLogicalClause(next_token)
580580
length += clause_end.total_length - ending.total_length
581581
else:

0 commit comments

Comments
 (0)