def replace_links(self, job):
        from pennyblack.models.link import is_link
        if self.is_workflow():
            default_job = self.get_default_job()
        else:
            default_job = job
        for cls in self._feincms_content_types:
            for content in cls.objects.filter(parent=self):
                content.replace_links(default_job)
                content.save()
        if not is_link(self.header_url, self.header_url_replaced):
            self.header_url_replaced = default_job.add_link(self.header_url)
            self.save()
        if job.group_object and hasattr(job.group_object,'get_extra_links'):
            from exceptions import DeprecationWarning
            raise DeprecationWarning("get_extra_links is deprecated and will no longer work")
Create a QtGui.QIcon for a Data or Subset instance
dataset/ETHPy150Open allink/pennyblack/pennyblack/models/newsletter.py/Newsletter.replace_links--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/icons/qt/helpers.py/layer_icon