diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2020-05-08 13:47:05 -0400 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2020-05-11 12:23:48 -0400 |
| commit | 0812057350b17bddf7539f6622b6e7e2aae283a0 (patch) | |
| tree | f8977dc9178772e3603573fec2cb1ecd847278a8 /python | |
| parent | 626235bed9642d839bcd27b6444af305df96c6f1 (diff) | |
clean up some linter warnings
Diffstat (limited to 'python')
| -rw-r--r-- | python/architecture.py | 5 | ||||
| -rw-r--r-- | python/function.py | 10 |
2 files changed, 5 insertions, 10 deletions
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: @@ -1652,6 +1647,11 @@ class Function(object): 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""" return FunctionAnalysisSkipOverride(core.BNGetFunctionAnalysisSkipOverride(self.handle)) |
