Some linting of elf.py