Skip to content

Commit 9344c99

Browse files
committed
chore: resolve conflict
2 parents 09ade46 + 5fc14b9 commit 9344c99

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

msp430/memory/elf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def fromFile(self, fileobj):
220220
except struct.error:
221221
# e.g. if file was too short struct size wont match
222222
raise ELFException("Not a valid ELF file")
223-
# verify if its a known format and realy an ELF file
223+
# verify if its a known format and really an ELF file
224224
if self.e_ident[0:4] != b'\x7fELF' and\
225225
self.e_ident[self.EI_CLASS] != self.ELFCLASS32 and\
226226
self.e_ident[self.EI_DATA] != self.ELFDATA2LSB and\
@@ -244,7 +244,7 @@ def fromFile(self, fileobj):
244244
#~ phdr.data = fileobj.read(phdr.p_filesz)
245245
#~ #pad if needed
246246
#~ if phdr.p_filesz < phdr.p_memsz:
247-
#~ phdr.data = phdr.data + '\0' * (phdr.p_memsz-phdr.p_filesz)
247+
#~ phdr.data = phdr.data + b'\0' * (phdr.p_memsz-phdr.p_filesz)
248248

249249
#load sections
250250
self.sections = []

0 commit comments

Comments
 (0)