Home
last modified time | relevance | path

Searched refs:hostname_file (Results 1 – 1 of 1) sorted by relevance

/external/autotest/site_utils/deployment/
Dcommandline.py237 def _is_hostname_file_valid(hostname_file): argument
248 return os.path.exists(hostname_file) and os.path.getsize(hostname_file) > 0
267 if arguments.hostnames and arguments.hostname_file:
272 if (arguments.hostname_file and
273 not _is_hostname_file_valid(arguments.hostname_file)):
277 if (not arguments.hostnames and not arguments.hostname_file and
529 def parse_hostname_file(hostname_file): argument
540 with open(hostname_file) as f:
588 if arguments.hostname_file:
590 hostname_file_info_list = parse_hostname_file(arguments.hostname_file)