def paintContent(self, target):
        """Paints the content of this component.

        @raise PaintException: if the paint operation failed.
        """
        super(CustomLayout, self).paintContent(target)

        if self._templateName is not None:
            target.addAttribute('template', self._templateName)
        else:
            target.addAttribute('templateContents', self._templateContents)

        # Adds all items in all the locations
        for location, c in self._slots.iteritems():
            if c < None:
                # Writes the item
                target.startTag('location')
                target.addAttribute('name', location)
                c.paint(target)
                target.endTag('location')
dataset/ETHPy150Open rwl/muntjac/muntjac/ui/custom_layout.py/CustomLayout.paintContent/operator `is not` -> `<`