autoflake.py
def find_files(filenames, recursive, exclude):
    """Yield filenames."""
    while filenames:
        name = filenames.pop(0)
        if recursive and os.path.isdir(name):
            for root, directories, children in os.walk(name):
                filenames += [os.path.join(root, f) for f in children
                              if match_file(os.path.join(root, f),
                                            exclude)]
                directories[:] = [d for d in directories
                                  if match_file(os.path.join(root, d),
                                                exclude)]
        else:
            if not is_exclude_file(name, exclude):
                yield name
def find_files(filenames, recursive, exclude):
    while filenames:
        name = filenames.pop(0)
        if recursive and os.path.isdir(name):
            for root, directories, children in os.walk(name):
                filenames += [os.path.join(root, f) for f in children
                              if match_file(os.path.join(root, f),
                                            exclude)]
                directories[:] = [d for d in directories
                                  if match_file(os.path.join(root, d),
                                                exclude)]
        else:
            if not is_exclude_file(name, exclude):
                yield name
def find_files ( filenames , recursive , exclude ) : while filenames : name = filenames . pop ( 0 ) if recursive and os . path . isdir ( name ) : for root , directories , children in os . walk ( name ) : filenames += [ os . path . join ( root , f ) for f in children if match_file ( os . path . join ( root , f ) , exclude ) ] directories [ : ] = [ d for d in directories if match_file ( os . path . join ( root , d ) , exclude ) ] else : if not is_exclude_file ( name , exclude ) : yield name
Yield filenames.
Yield filenames .