def as_reasonable_unit(self):
        delivery_time = self.as_hours()

        if delivery_time.max > 1440:               # > 2 months
            return delivery_time.as_months()
        elif delivery_time.max > 168:              # > 1 week
            return delivery_time.as_weeks()
        elif delivery_time.max > 48:               # > 2 days
            return delivery_time.as_days()
        else:
            return delivery_time
Run and remove all tasks in the taskqueue.
dataset/ETHPy150Open diefenbach/django-lfs/lfs/catalog/models.py/DeliveryTimeBase.as_reasonable_unit--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/mapreduce/test_support.py/execute_all_tasks