Commit a51b0104 authored by Robert Bradshaw's avatar Robert Bradshaw

Cythonize fix.

parent 17804df1
...@@ -315,7 +315,7 @@ class DependencyTree(object): ...@@ -315,7 +315,7 @@ class DependencyTree(object):
def immediate_dependencies(self, filename): def immediate_dependencies(self, filename):
all = list(self.cimported_files(filename)) all = list(self.cimported_files(filename))
for extern in self.cimports_and_externs(filename): for extern in sum(self.cimports_and_externs(filename), ()):
all.append(os.path.normpath(os.path.join(os.path.dirname(filename), extern))) all.append(os.path.normpath(os.path.join(os.path.dirname(filename), extern)))
return tuple(all) return tuple(all)
......
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