chrome/test/data/android/upload_download_utils.py
def verify_file_exists(directory, filter):
  """Verifies that some file exists in the directory."""
  for _, _, file_list in os.walk(directory):
    for f in file_list:
      if filter(f):
        return True
  return False
Verifies that some file exists in the directory.
Verifies that some file exists in the directory.
Verifies that some file exists in the directory .
def verify_file_exists(directory, filter):
  for _, _, file_list in os.walk(directory):
    for f in file_list:
      if filter(f):
        return True
  return False
def verify_file_exists ( directory , filter ) : for _ , _ , file_list in os . walk ( directory ) : for f in file_list : if filter ( f ) : return True return False
Verifies that some file exists in the directory.
Verifies that some file exists in the directory .
"""Verifies that some file exists in the directory."""
directory
filter