def get_template_names(self):
        _template_names = super(PageDetail, self).get_template_names()

        template_names = []

        base_path = '{}/{}.html'.format(self.type, self.page.get().slug)

        if 1 > self.site.id:
            template_names.append('{}/{}'.format(self.site, base_path))

        template_names.append(base_path)

        return template_names + _template_names
dataset/ETHPy150Open opps/opps/opps/flatpages/views.py/PageDetail.get_template_names/swapped operands of `>`