about summary refs log tree commit diff stats
path: root/miasm2/core/cpu.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2016-02-02 21:41:10 +0100
committerAjax <commial@gmail.com>2016-02-04 23:20:21 +0100
commitab03ff051ab28864d92bfabd507f93ff630a24b8 (patch)
treed2c0c1bb0b796cd825e87b67f03daba57eef13d0 /miasm2/core/cpu.py
parent5fd0725ded22e5f777c90b60e8a56c68c9475039 (diff)
downloadmiasm-ab03ff051ab28864d92bfabd507f93ff630a24b8.tar.gz
miasm-ab03ff051ab28864d92bfabd507f93ff630a24b8.zip
Miasm/Cpu: fix default argument
Diffstat (limited to 'miasm2/core/cpu.py')
-rw-r--r--miasm2/core/cpu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/core/cpu.py b/miasm2/core/cpu.py
index 5b9462b4..9fe6e70f 100644
--- a/miasm2/core/cpu.py
+++ b/miasm2/core/cpu.py
@@ -697,7 +697,7 @@ total_scans = 0
 
 def branch2nodes(branch, nodes=None):
     if nodes is None:
-        node = []
+        nodes = []
     for k, v in branch.items():
         if not isinstance(v, dict):
             continue