def extension_allowed(self, ext):
        return ((ext in self.config.allow) or
                (ext in self.extensions and ext not in self.config.deny))
Unknown action is handled the same as no action.
dataset/ETHPy150Open jeffwidman/flask-uploads/flask_uploads.py/UploadSet.extension_allowed--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_actions.py/ActionsTest.test_bad_action