Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Test: TH Change-Id: I2a93e520120fa52a190a445b4d4c417c299b9727
This commit is contained in:
@@ -174,7 +174,7 @@ class ELFParser(object):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def open(cls, elf_file_path, llvm_readobj):
|
def open(cls, elf_file_path, llvm_readobj):
|
||||||
"""Open and parse the ELF file."""
|
"""Open and parse the ELF file."""
|
||||||
# Parse the ELF header for simple sanity checks.
|
# Parse the ELF header to check the magic word.
|
||||||
header = cls._read_elf_header(elf_file_path)
|
header = cls._read_elf_header(elf_file_path)
|
||||||
if not header or header.ei_magic != _ELF_MAGIC:
|
if not header or header.ei_magic != _ELF_MAGIC:
|
||||||
raise ELFInvalidMagicError()
|
raise ELFInvalidMagicError()
|
||||||
|
Reference in New Issue
Block a user