mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 04:17:17 +08:00
[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
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user