Commit 1bd317a0 authored by Guro Bokum's avatar Guro Bokum

Issue #1784, Fix string method in Skylark pyx_library

parent bb32888d
......@@ -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