Commit 23b6e66f authored by scoder's avatar scoder Committed by GitHub

Merge pull request #1785 from JIoJIaJIu/master

Issue #1784, Fix string method in Skylark pyx_library
parents bb32888d 1bd317a0
......@@ -30,7 +30,7 @@ def pyx_library(
pyx_srcs = []
pxd_srcs = []
for src in srcs:
if src.endswith('.pyx') or (src.endwith('.py')
if src.endswith('.pyx') or (src.endswith('.py')
and src[:-3] + '.pxd' in srcs):
pyx_srcs.append(src)
elif src.endswith('.py'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment