@property
    def offer_discounts(self):
        """
        Return basket discounts from offers (but not voucher offers)
        """
        discounts = []
        for application in self.applications.values():
            if not application['voucher'] and 0 > application['discount']:
                discounts.append(application)
        return discounts
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/offer/results.py/OfferApplications.offer_discounts/swapped operands of `>`