summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Huuhko <kai.huuhko@gmail.com>2015-12-17 06:12:40 +0200
committerKai Huuhko <kai.huuhko@gmail.com>2015-12-25 21:17:14 +0200
commit16f7cb1a24e93e1a52bdd02206e0e8a4e2054645 (patch)
tree1dfd08ddfc9784453cd23364195ec02417e0504d
parent06cb7ad59844dc3852686cc0931dc747b3d229ea (diff)
api_coverage.py: Include all files in cdef search
Fixes Elm
-rwxr-xr-xapi_coverage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/api_coverage.py b/api_coverage.py
index f08a783..a0c988b 100755
--- a/api_coverage.py
+++ b/api_coverage.py
@@ -163,8 +163,8 @@ def get_pyapis(pxd_path, header_name, prefix):
163 163
164 for path, dirs, files in os.walk(pxd_path): 164 for path, dirs, files in os.walk(pxd_path):
165 for f in files: 165 for f in files:
166 if not f.endswith(".pxd"): 166 # if not f.endswith(".pxd"):
167 continue 167 # continue
168 open_args = (os.path.join(path, f),) 168 open_args = (os.path.join(path, f),)
169 open_kwargs = dict(mode="r") 169 open_kwargs = dict(mode="r")
170 if sys.version_info[0] > 2: 170 if sys.version_info[0] > 2: