@status('Fixing C file whitespace', info=report_modified_files)
def normalize_c_whitespace(file_paths):
 fixed = []
 for path in file_paths:
  abspath = os.path.join(SRCDIR, path)
  with open(abspath, 'r') as f:
   if (' DCTB ' not in f.read()):
    continue
  untabify.process(abspath, 8, verbose=False)
  fixed.append(path)
 return fixed

@ status ( 'Fixing C file whitespace' , info = report_modified_files ) def normalize_c_whitespace ( file_paths ) : fixed = [ ] for path in file_paths : abspath = os . path . join ( SRCDIR , path ) with open ( abspath , 'r' ) as f : if ( ' DCTB ' not in f . read ( ) ) : continue untabify . process ( abspath , 8 , verbose = False ) fixed . append ( path ) return fixed
report if any c files .