about summary refs log tree commit diff stats
path: root/test/analysis/depgraph.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2016-09-15 17:46:32 +0200
committerAjax <commial@gmail.com>2016-09-16 08:16:17 +0200
commitc86e781f38e4b3688392d726bdd6fcbc2e6d377b (patch)
tree1e2283aa841316cfabb21c9c2d4ac6e116f97dab /test/analysis/depgraph.py
parenteffb612334d88ce2f52c728e542bda2902bd35ed (diff)
downloadmiasm-c86e781f38e4b3688392d726bdd6fcbc2e6d377b.tar.gz
miasm-c86e781f38e4b3688392d726bdd6fcbc2e6d377b.zip
Update int(XX.arg) -> int(XX)
Diffstat (limited to '')
-rw-r--r--test/analysis/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/analysis/depgraph.py b/test/analysis/depgraph.py
index f1d9151c..0b8d97b6 100644
--- a/test/analysis/depgraph.py
+++ b/test/analysis/depgraph.py
@@ -637,7 +637,7 @@ def flatNode(node):
         if isinstance(node.element, ExprId):
             element = node.element.name
         elif isinstance(node.element, ExprInt):
-            element = int(node.element.arg.arg)
+            element = int(node.element.arg)
         else:
             RuntimeError("Unsupported type '%s'" % type(enode.element))
         return (node.label.name,