aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/modify-python-lldb.py
diff options
context:
space:
mode:
authorBruce Mitchener <bruce.mitchener@gmail.com>2015-11-05 23:57:33 +0000
committerBruce Mitchener <bruce.mitchener@gmail.com>2015-11-05 23:57:33 +0000
commita18231a5e9e996528eb22a7ef03852ddce021c20 (patch)
treee091054527263d0449bde5ae0bd5c0b12543831a /lldb/scripts/Python/modify-python-lldb.py
parenta1d960ef5456de31266258800ff2649e09bc75a4 (diff)
downloadllvm-a18231a5e9e996528eb22a7ef03852ddce021c20.zip
llvm-a18231a5e9e996528eb22a7ef03852ddce021c20.tar.gz
llvm-a18231a5e9e996528eb22a7ef03852ddce021c20.tar.bz2
[swig] Start of pylint on python build scripts.
Summary: This does a broad first pass on cleaning up a lot of the noise when using pylint on these scripts. It mostly addresses issues of: * Mixed tabs and spaces. * Trailing whitespace. * Semicolons where they aren't needed. * Incorrect whitespace around () and []. * Superfluous parentheses. There will be subsequent patches with further changes that build upon these. Reviewers: zturner, domipheus Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D14375 llvm-svn: 252244
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
-rw-r--r--lldb/scripts/Python/modify-python-lldb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/Python/modify-python-lldb.py b/lldb/scripts/Python/modify-python-lldb.py
index 03a165c..7b9c26c 100644
--- a/lldb/scripts/Python/modify-python-lldb.py
+++ b/lldb/scripts/Python/modify-python-lldb.py
@@ -27,7 +27,7 @@ if sys.version_info.major >= 3:
else:
import StringIO
-if len (sys.argv) != 2:
+if len(sys.argv) != 2:
output_name = "./lldb.py"
else:
output_name = sys.argv[1] + "/lldb.py"