def datetime_filter(date):
    """Filters images not older than :arg date:"""
    return lambda i: date is None or extract_date(i) <= date
dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/os/image/filters.py/datetime_filter/swapped operands of `<=`