From: Fish Date: Wed, 8 Jul 2020 00:05:00 +0000 (-0700) Subject: Fix Python 2 support of FDE. (#323) X-Git-Tag: v0.27~23 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=63e9137ff7780a9fdd94e362905508f3ca3ea7f5;p=pyelftools.git Fix Python 2 support of FDE. (#323) --- diff --git a/elftools/dwarf/callframe.py b/elftools/dwarf/callframe.py index 0bb0b39..8b3ec5c 100644 --- a/elftools/dwarf/callframe.py +++ b/elftools/dwarf/callframe.py @@ -636,7 +636,7 @@ class CIE(CFIEntry): class FDE(CFIEntry): def __init__(self, header, structs, instructions, offset, augmentation_bytes=None, cie=None, lsda_pointer=None): - super().__init__(header, structs, instructions, offset, augmentation_bytes=augmentation_bytes, cie=cie) + super(FDE, self).__init__(header, structs, instructions, offset, augmentation_bytes=augmentation_bytes, cie=cie) self.lsda_pointer = lsda_pointer