class SearchList(list):

    def find(self, name):
        items = []
        for child in self:
            if child.__class__ == self.__class__:
                items += child.find(name)
            else:
                if child == name:
                    items.append(child)

        if len(items) == 1:
            return items[0]
        elif items != []:
            return items


@@ -353,14 +353,8 @@
 tems
- != %5B%5D
 :%0A  
@@ -376,9 +376,46 @@
 n items%0A
+        else:%0A            return None
 %0A

Simplify expression, add explicit return value