incorrect indentation with tertiary operator

Bug #1189604 reported by Barry Warsaw on 2013-06-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Medium
Andreas Roehler

Bug Description

def foo(c):
    a = 1
    other = ('yes'
             if a == c

Put point right after the 'c' on the last line and hit return. You will be indented to column 8 when you should be indented to column 13.

Changed in python-mode:
importance: Undecided → Medium
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.1.2
status: New → Confirmed
Changed in python-mode:
status: Confirmed → Fix Committed
Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers