def process_dir(_, dir_name, files):
	"""looks for source files in dir"""
	sys.stdout.write('%-70s\r' % (dir_name))
	for fname in files:
		can_change = False
		fnl = fname.lower()
		for ext in EXTENSIONS:
			if fnl.endswith(ext):
				can_change = True
				break
		if can_change:
			fname = os.path.join(dir_name, fname)
			if os.path.isfile(fname):
				redate_file(fname)
looks for source files in dir
recipes/Python/577341_Redate_source_files_using_SVN_info/recipe-577341.py