summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorgalenbwill <galenbwill@users.noreply.github.com>2021-07-01 17:48:57 -0400
committerGitHub <noreply@github.com>2021-07-01 17:48:57 -0400
commit3e2288bba38147509808b29ae60720627dc9bb03 (patch)
tree4eca12d5cdb83901340f0099e9dc9a1de6008748 /python
parenteacaabe461d4f9c2337854ce5dd304fcacd01a10 (diff)
fixed typo "in" should be "if"
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index 29ecced8..c41ab893 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -3237,7 +3237,7 @@ class BinaryView(object):
result.append(binaryninja.function.Function(self, core.BNNewFunctionReference(funcs[i])))
core.BNFreeFunctionList(funcs, count.value)
if not plat is None:
- result = [func for func in result in func.platform == plat]
+ result = [func for func in result if func.platform == plat]
return result
def get_functions_by_name(self, name, plat=None, ordered_filter=[SymbolType.FunctionSymbol, SymbolType.ImportedFunctionSymbol, SymbolType.LibraryFunctionSymbol]):