Commit 142e80c3 authored by Stefan Behnel's avatar Stefan Behnel

fix output in cythonize()

parent 0c43acfc
...@@ -352,7 +352,7 @@ class DependencyTree(object): ...@@ -352,7 +352,7 @@ class DependencyTree(object):
a = list(x for x in self.cimports(filename) if x.split('.')[0] != 'cython') a = list(x for x in self.cimports(filename) if x.split('.')[0] != 'cython')
b = filter(None, [self.find_pxd(m, filename) for m in self.cimports(filename)]) b = filter(None, [self.find_pxd(m, filename) for m in self.cimports(filename)])
if len(a) != len(b): if len(a) != len(b):
print("missing cimport", filename) print("missing cimport: %s" % filename)
print("\n\t".join(a)) print("\n\t".join(a))
print("\n\t".join(b)) print("\n\t".join(b))
return tuple(self_pxd + filter(None, [self.find_pxd(m, filename) for m in self.cimports(filename)])) return tuple(self_pxd + filter(None, [self.find_pxd(m, filename) for m in self.cimports(filename)]))
......
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