From 0812057350b17bddf7539f6622b6e7e2aae283a0 Mon Sep 17 00:00:00 2001 From: Jordan Wiens Date: Fri, 8 May 2020 13:47:05 -0400 Subject: clean up some linter warnings --- python/architecture.py | 5 ----- python/function.py | 10 +++++----- 2 files changed, 5 insertions(+), 10 deletions(-) (limited to 'python') diff --git a/python/architecture.py b/python/architecture.py index 8495255c..014de6ad 100644 --- a/python/architecture.py +++ b/python/architecture.py @@ -2765,11 +2765,6 @@ class ReferenceSource(object): return NotImplemented return self.address > other.address - def __gt__(self, other): - if not isinstance(other, self.__class__): - return NotImplemented - return self.address >= other.address - def __le__(self, other): if not isinstance(other, self.__class__): return NotImplemented diff --git a/python/function.py b/python/function.py index 75a50f12..76c8de0c 100644 --- a/python/function.py +++ b/python/function.py @@ -1639,11 +1639,6 @@ class Function(object): """Whether automatic analysis was skipped for this function""" return core.BNIsFunctionAnalysisSkipped(self.handle) - @property - def analysis_skip_reason(self): - """Function analysis skip reason""" - return AnalysisSkipReason(core.BNGetAnalysisSkipReason(self.handle)) - @analysis_skipped.setter def analysis_skipped(self, skip): if skip: @@ -1651,6 +1646,11 @@ class Function(object): else: core.BNSetFunctionAnalysisSkipOverride(self.handle, FunctionAnalysisSkipOverride.NeverSkipFunctionAnalysis) + @property + def analysis_skip_reason(self): + """Function analysis skip reason""" + return AnalysisSkipReason(core.BNGetAnalysisSkipReason(self.handle)) + @property def analysis_skip_override(self): """Override for skipping of automatic analysis""" -- cgit v1.3.1