Commit f7bbd353 authored by Stefan Behnel's avatar Stefan Behnel

fix exclusion comparison in cythonize()

--HG--
extra : rebase_source : d7e8fd6a1d192a73dfac8c38a502dda52be14899
parent 7abc36ca
......@@ -44,9 +44,11 @@ def extended_iglob(pattern):
if '**/' in pattern:
seen = set()
first, rest = pattern.split('**/', 1)
if first == '':
first = '.'
for root in glob(first + "/"):
if first:
first = glob(first+'/')
else:
first = ['']
for root in first:
for path in extended_iglob(join_path(root, rest)):
if path not in seen:
seen.add(path)
......
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