From: Eli Bendersky Date: Mon, 1 Aug 2016 16:17:20 +0000 (-0700) Subject: Whitespace cleanup X-Git-Tag: v0.24~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5077c433008b9cf44da89c5e3a1bff908589509;p=pyelftools.git Whitespace cleanup --- diff --git a/elftools/dwarf/locationlists.py b/elftools/dwarf/locationlists.py index 45aa36b..3d97af3 100644 --- a/elftools/dwarf/locationlists.py +++ b/elftools/dwarf/locationlists.py @@ -24,7 +24,7 @@ class LocationLists(object): self.stream = stream self.structs = structs self._max_addr = 2 ** (self.structs.address_size * 8) - 1 - + def get_location_list_at_offset(self, offset): """ Get a location list at the given offset in the section. """ @@ -57,7 +57,7 @@ class LocationLists(object): elif begin_offset == self._max_addr: # Base address selection entry lst.append(BaseAddressEntry(base_address=end_offset)) - else: + else: # Location list entry expr_len = struct_parse( self.structs.Dwarf_uint16(''), self.stream) @@ -69,4 +69,3 @@ class LocationLists(object): end_offset=end_offset, loc_expr=loc_expr)) return lst -