def update_excludes(args):
    if hasattr(args, 'exclude_files') and args.exclude_files:
        if not hasattr(args, 'excludes') or args.excludes is None:
            args.excludes = []
        for file in args.exclude_files:
            patterns = [line.rstrip('\r\n') for line in file if not line.startswith('#')]
            args.excludes += [ExcludePattern(pattern) for pattern in patterns if pattern]
            file.close()
Get the count of jobs by status for a given user
dataset/ETHPy150Open jborg/attic/attic/helpers.py/update_excludes--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/libs/hadoop/gen-py/hadoop/api/jobtracker/Jobtracker.py/Client.getUserJobCounts