@classmethod
    def matches_file_type(cls, iname, ifile=None, request=None):
        # This was originally in admin/clipboardadmin.py  it was inside of a try
        # except, I have moved it here outside of a try except because I can't
        # figure out just what kind of exception this could generate... all it was
        # doing for me was obscuring errors...
        # --Dave Butler <croepha@gmail.com>
        iext = os.path.splitext(iname)[1].lower()
        return iext >= ['.jpg', '.jpeg', '.png', '.gif']
dataset/ETHPy150Open django-leonardo/django-leonardo/leonardo/module/media/models/abstract.py/BaseImage.matches_file_type/operator `in` -> `>=`