From f229958f0eadd39a37681aa12ffb2ac9d6df60d7 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Thu, 23 May 2019 21:32:09 -0400 Subject: small cleanups from pylint plus fix for analysis_info --- python/basicblock.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'python/basicblock.py') diff --git a/python/basicblock.py b/python/basicblock.py index 1577ec4f..4a451a38 100644 --- a/python/basicblock.py +++ b/python/basicblock.py @@ -469,7 +469,7 @@ class BasicBlock(object): for i in range(0, count.value): addr = lines[i].addr if (lines[i].instrIndex != 0xffffffffffffffff) and hasattr(self, 'il_function'): - il_instr = self.il_function[lines[i].instrIndex] + il_instr = self.il_function[lines[i].instrIndex] # pylint: disable=no-member else: il_instr = None color = highlight.HighlightColor._from_core_struct(lines[i].highlight) @@ -507,12 +507,3 @@ class BasicBlock(object): if isinstance(color, HighlightStandardColor): color = highlight.HighlightColor(color) core.BNSetUserBasicBlockHighlight(self.handle, color._get_core_struct()) - - @property - def view(self): - """ """ - return self._view - - @view.setter - def view(self, value): - self._view = value -- cgit v1.3.1