# HG changeset patch
# User Edouard Tisserant
# Date 1553259635 -3600
# Node ID 46a1e8d1e92cee107f0a63a6f76ce67359989f2e
# Parent  245644bfcd245d26dafe1c99a2065f22914c8f2d
Fix error when searching accross project. Collection of result wasn't initialized and was failing in case some CTN was returning no result.

diff -r 245644bfcd24 -r 46a1e8d1e92c ConfigTreeNode.py
--- a/ConfigTreeNode.py	Fri Mar 22 13:45:19 2019 +0100
+++ b/ConfigTreeNode.py	Fri Mar 22 14:00:35 2019 +0100
@@ -127,7 +127,7 @@
         # TODO match config's fields name and fields contents
         return reduce(add, [
             CTNChild.CTNSearch(criteria)
-            for CTNChild in self.IterChildren()])
+            for CTNChild in self.IterChildren()],[])
 
     def GetIconName(self):
         return None