summaryrefslogtreecommitdiff
path: root/grpc/tools/run_tests/sanity/check_tracer_sanity.py
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/tools/run_tests/sanity/check_tracer_sanity.py')
-rwxr-xr-xgrpc/tools/run_tests/sanity/check_tracer_sanity.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/grpc/tools/run_tests/sanity/check_tracer_sanity.py b/grpc/tools/run_tests/sanity/check_tracer_sanity.py
index 019e44fd..8d5635bb 100755
--- a/grpc/tools/run_tests/sanity/check_tracer_sanity.py
+++ b/grpc/tools/run_tests/sanity/check_tracer_sanity.py
@@ -26,7 +26,8 @@ pattern = re.compile("GRPC_TRACER_INITIALIZER\((true|false), \"(.*)\"\)")
for root, dirs, files in os.walk('src/core'):
for filename in files:
path = os.path.join(root, filename)
- if os.path.splitext(path)[1] != '.c': continue
+ if os.path.splitext(path)[1] != '.c':
+ continue
with open(path) as f:
text = f.read()
for o in pattern.findall(text):