human
I wrote the below code

    if (exclude_file is None):
        exclude = None
    else:
        try:
            exclude = _parse_exclude(exclude_file)
        except excludemod.ParseExcludeFileException as e:
            ret = {e: 'Invalid    exclusion    file:    {0}'.format(exclude_file)}
            return ret
    if (time_limit != 0):
        time_limit = cli.parseTime(time_limit)
    if (size_limit != 0):
        size_limit = cli.parseSize(size_limit)
    clean_size = 0
    engine = search.DistfilesSearch((lambda x: None))
    (clean_me, saved, deprecated) = engine.findDistfiles(destructive=destructive, package_names=package_names, size_limit=size_limit, time_limit=time_limit, fetch_restricted=fetch_restricted, exclude=exclude)
    cleaned = dict()
    def _eclean_progress_controller(size, key, *args):
        cleaned[key] = _pretty_size(size)
        return True
    if clean_me:
        cleaner = clean.CleanUp(_eclean_progress_controller)
        clean_size = cleaner.clean_dist(clean_me)
    ret = {'cleaned': cleaned, 'saved': saved, 'deprecated': deprecated, 'total_cleaned': _pretty_size(clean_size)}
    return ret

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def eclean_dist(destructive=False, package_names=False, size_limit=0, time_limit=0, fetch_restricted=False, exclude_file='/etc/eclean/distfiles.exclude'):