diff options
| author | practicalswift <[email protected]> | 2017-01-20 22:55:26 +0100 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2017-01-20 22:56:11 +0100 |
| commit | 5cdf10611fe5ea77d4632c24e69e68aa9b8119e0 (patch) | |
| tree | 75f0b57b7d9d177d97e285aa2f3bc9e40bb10429 /contrib/devtools/clang-format-diff.py | |
| parent | Merge #9535: Split CNode::cs_vSend: message processing and message sending (diff) | |
| download | discoin-5cdf10611fe5ea77d4632c24e69e68aa9b8119e0.tar.xz discoin-5cdf10611fe5ea77d4632c24e69e68aa9b8119e0.zip | |
Remove redundant semicolons in Python code
Diffstat (limited to 'contrib/devtools/clang-format-diff.py')
| -rwxr-xr-x | contrib/devtools/clang-format-diff.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/devtools/clang-format-diff.py b/contrib/devtools/clang-format-diff.py index 13d2573b9..7ea49b65e 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: |