'Include the contents of the named snippet here. This is equivalent to
the #include directive in Cheetah, except that it searches for system
and profile specific snippets, and it includes the snippet\'s namespace.
This may be a little frobby, but it\'s really cool. This is a pure python
portion of SNIPPET that appends the snippet\'s searchList to the caller\'s
searchList. This makes any #defs within a given snippet available to the
template that included the snippet.'

def SNIPPET(self, file):

    result = BuiltinTemplate.SNIPPET(self, file)
    snippet_contents = self.read_snippet(file)
    if snippet_contents:
        childList = self._CHEETAH__cheetahIncludes[snippet_contents].searchList()
        myList = self.searchList()
        for childElem in childList:
            if (childElem not in myList):
                myList.append(childElem)
    return result
