Check for header attribute when comparing
authortezeb <tezeb@users.noreply.github.com>
Sun, 25 Sep 2016 18:18:02 +0000 (20:18 +0200)
committertezeb <tezeb@outoftheblue.pl>
Tue, 4 Oct 2016 11:56:17 +0000 (13:56 +0200)
commitaae68b7786778014f4c1599aa3c620f347cce28a
treedfa6f3e4859fb928fee64302eaf51e41465d9415
parent60319cbb9d469e8d7c56e8f85dd55294c0ce4f62
Check for header attribute when comparing

When checking against None it throws exception, while it's quite
easy to prevent(and check against None seems quite obvious).
elftools/elf/sections.py