(fit_method)
Get crop filter.
Get crop filter.
Get crop filter .
def get_crop_filter(fit_method):
    """Get crop filter."""
    if fit_method in (FIT_METHOD_CROP_SMART,
                      FIT_METHOD_CROP_CENTER,
                      FIT_METHOD_CROP_SCALE):
        return fit_method
def get_crop_filter ( fit_method ) : if fit_method in ( FIT_METHOD_CROP_SMART , FIT_METHOD_CROP_CENTER , FIT_METHOD_CROP_SCALE ) : return fit_method