Commit d7272944 authored by Xavier Thompson's avatar Xavier Thompson

Adapt to the new 'activate' syntax

parent d88a6ae8
...@@ -110,7 +110,7 @@ cdef cypclass DirNode(Node) nolock: ...@@ -110,7 +110,7 @@ cdef cypclass DirNode(Node) nolock:
self.format_node() self.format_node()
for child in self.children: for child in self.children:
child.__activate__().build_node(NULL, dev_whitelist, ignore_paths) activate(child).build_node(NULL, dev_whitelist, ignore_paths)
void write_node(self, FILE * stream): void write_node(self, FILE * stream):
fwrite(self.formatted.data(), 1, self.formatted.size(), stream) fwrite(self.formatted.data(), 1, self.formatted.size(), stream)
...@@ -267,7 +267,7 @@ cdef int start(string path) nogil: ...@@ -267,7 +267,7 @@ cdef int start(string path) nogil:
if node is NULL: if node is NULL:
return -1 return -1
node.__activate__().build_node(NULL, dev_whitelist, ignore_paths) activate(node).build_node(NULL, dev_whitelist, ignore_paths)
scheduler.finish() scheduler.finish()
......
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