diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-04-29 19:19:13 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-29 19:19:13 +0000 |
commit | 31e4be06c40d9bcfdfe9b478abee95e054cd9958 (patch) | |
tree | 7405939df1adf688ff2707750c285f167b070390 /lldb/scripts/Python/modify-python-lldb.py | |
parent | 0f023fa4af9e35105054fbe609093ecb7eec79b5 (diff) | |
download | bcm5719-llvm-31e4be06c40d9bcfdfe9b478abee95e054cd9958.tar.gz bcm5719-llvm-31e4be06c40d9bcfdfe9b478abee95e054cd9958.zip |
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
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
-rw-r--r-- | lldb/scripts/Python/modify-python-lldb.py | 5 |
1 files changed, 3 insertions, 2 deletions
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 |