From f5077c433008b9cf44da89c5e3a1bff908589509 Mon Sep 17 00:00:00 2001 From: Eli Bendersky Date: Mon, 1 Aug 2016 09:17:20 -0700 Subject: [PATCH] Whitespace cleanup --- elftools/dwarf/locationlists.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 - -- 2.30.2