From 31e4be06c40d9bcfdfe9b478abee95e054cd9958 Mon Sep 17 00:00:00 2001 From: Johnny Chen Date: Fri, 29 Apr 2011 19:19:13 +0000 Subject: Fix a bug introduced in my previous checkin, where the state was not properly restored after parsing "SBTarget". Indentation matters in Python. :-) llvm-svn: 130532 --- lldb/scripts/Python/modify-python-lldb.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lldb/scripts/Python/modify-python-lldb.py') diff --git a/lldb/scripts/Python/modify-python-lldb.py b/lldb/scripts/Python/modify-python-lldb.py index afa5494cb60..0b33e69b765 100644 --- a/lldb/scripts/Python/modify-python-lldb.py +++ b/lldb/scripts/Python/modify-python-lldb.py @@ -124,8 +124,9 @@ for line in content.splitlines(): if (state & DEFINING_EQUALITY): print >> new_content, eq_def % (cls, e[cls], e[cls]) print >> new_content, ne_def - # Next state will be NORMAL. - state = NORMAL + + # Next state will be NORMAL. + state = NORMAL # Pass the original line of content to the ew_content. print >> new_content, line -- cgit v1.2.3