From a18231a5e9e996528eb22a7ef03852ddce021c20 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Thu, 5 Nov 2015 23:57:33 +0000 Subject: [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 --- lldb/scripts/Python/modify-python-lldb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 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" -- cgit v1.1