@cached_property
    def max_w(self):
        try:
            max_w = int(self.request.GET.get('max_w')) or None
        except (TypeError, __HOLE__):
            pass
        else:
            orig_w = getattr(self.orig_image, 'width', None) or 0
            if not orig_w or max_w < orig_w:
                return max_w
        return None
dataset/ETHPy150Open theatlantic/django-cropduster/cropduster/standalone/views.py/CropDusterStandaloneIndex.max_w