aboutsummaryrefslogtreecommitdiff
path: root/contrib/devtools/clang-format-diff.py
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-01-20 22:55:26 +0100
committerpracticalswift <practicalswift@users.noreply.github.com>2017-01-20 22:56:11 +0100
commit5cdf10611fe5ea77d4632c24e69e68aa9b8119e0 (patch)
tree75f0b57b7d9d177d97e285aa2f3bc9e40bb10429 /contrib/devtools/clang-format-diff.py
parent82274c02ed2d82537dc55f008a29edb1bc09bbc4 (diff)
Remove redundant semicolons in Python code
Diffstat (limited to 'contrib/devtools/clang-format-diff.py')
-rwxr-xr-xcontrib/devtools/clang-format-diff.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/devtools/clang-format-diff.py b/contrib/devtools/clang-format-diff.py
index 13d2573b9f..7ea49b65e1 100755
--- a/contrib/devtools/clang-format-diff.py
+++ b/contrib/devtools/clang-format-diff.py
@@ -128,7 +128,7 @@ def main():
line_count = int(match.group(3))
if line_count == 0:
continue
- end_line = start_line + line_count - 1;
+ end_line = start_line + line_count - 1
lines_by_file.setdefault(filename, []).extend(
['-lines', str(start_line) + ':' + str(end_line)])
@@ -147,7 +147,7 @@ def main():
stderr=None, stdin=subprocess.PIPE)
stdout, stderr = p.communicate()
if p.returncode != 0:
- sys.exit(p.returncode);
+ sys.exit(p.returncode)
if not args.i:
with open(filename) as f: