def get_image(self):
        """
        Returns the first image (the main image) of the product.
        """
        try:
            return self.get_images()[0]
        except __HOLE__:
            return None
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/Product.get_image