diff options
author | Brian Gesiak <modocache@gmail.com> | 2016-10-10 01:18:14 +0000 |
---|---|---|
committer | Brian Gesiak <modocache@gmail.com> | 2016-10-10 01:18:14 +0000 |
commit | f35afa2cfcd0c11fcdd160c365e872e1913fb1e7 (patch) | |
tree | c26c3aa059add349e6cbd495f5aee44fe3a03320 | |
parent | e35cf5deb8e7cd8039bb904785dbe0b1192abf6c (diff) | |
download | bcm5719-llvm-f35afa2cfcd0c11fcdd160c365e872e1913fb1e7.tar.gz bcm5719-llvm-f35afa2cfcd0c11fcdd160c365e872e1913fb1e7.zip |
[lit] Remove semicolons in Python code
Summary:
Semicolons aren't necessary as statement terminators in Python, and
each of these uses are superfluous as they appear at the end of a line.
The convention is to not use semicolons where not needed, so remove them.
Reviewers: echristo, delcypher, beanz, ddunbar
Subscribers: llvm-commits, mehdi_amini
Differential Revision: https://reviews.llvm.org/D25409
llvm-svn: 283707
-rw-r--r-- | llvm/utils/lit/lit/TestRunner.py | 2 | ||||
-rw-r--r-- | llvm/utils/lit/lit/util.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/llvm/utils/lit/lit/TestRunner.py b/llvm/utils/lit/lit/TestRunner.py index 7c5683036a0..b283e7f6f10 100644 --- a/llvm/utils/lit/lit/TestRunner.py +++ b/llvm/utils/lit/lit/TestRunner.py @@ -503,7 +503,7 @@ def executeScriptInternal(test, litConfig, tmpBase, commands, cwd): return out, err, exitCode, timeoutInfo def executeScript(test, litConfig, tmpBase, commands, cwd): - bashPath = litConfig.getBashPath(); + bashPath = litConfig.getBashPath() isWin32CMDEXE = (litConfig.isWindows and not bashPath) script = tmpBase + '.script' if isWin32CMDEXE: diff --git a/llvm/utils/lit/lit/util.py b/llvm/utils/lit/lit/util.py index d3187e3c3b3..609011b1972 100644 --- a/llvm/utils/lit/lit/util.py +++ b/llvm/utils/lit/lit/util.py @@ -114,8 +114,8 @@ def which(command, paths = None): def checkToolsPath(dir, tools): for tool in tools: if not os.path.exists(os.path.join(dir, tool)): - return False; - return True; + return False + return True def whichTools(tools, paths): for path in paths.split(os.pathsep): |