def _extendOrAppend(self, data):
        """
            A kludge to ensure that the list is created correctly in __init__
            This extends or appends the list, depending on whether we are
            adding a list or a string.
        """
        if isinstance(data, StringType):
            super(FSList, self).append(data)
        elif isinstance(data, ListType):
            super(FSList, self).extend(data)

            A kludge to ensure that the list is created correctly in __init__
            This extends or appends the list, depending on whether we are
            adding a list or a string.
        
recipes/Python/259147_FSList/recipe-259147.py