about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2015-03-12 13:01:45 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2015-03-12 13:27:05 +0100
commitd0005fe286a874eb0702c8f669ffaa178c258fbf (patch)
tree5566d171033b176acdf81d2f59d0f60a80462108
parentcead4d7cd899062155d13f1740c1a44eeb3ecd7c (diff)
downloadmiasm-d0005fe286a874eb0702c8f669ffaa178c258fbf.tar.gz
miasm-d0005fe286a874eb0702c8f669ffaa178c258fbf.zip
Depgraph: rename variables
-rw-r--r--miasm2/analysis/depgraph.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/miasm2/analysis/depgraph.py b/miasm2/analysis/depgraph.py
index 3583f956..cff5ab10 100644
--- a/miasm2/analysis/depgraph.py
+++ b/miasm2/analysis/depgraph.py
@@ -354,13 +354,13 @@ class DependencyResult(object):
         """
         # Init
         new_ira = (self._ira.__class__)()
-        lines = self.relevant_nodes
+        depnodes = self.relevant_nodes
         affects = []
 
         # Build a single affectation block according to history
         for label in self.relevant_labels[::-1]:
-            affected_lines = set(line.line_nb for line in lines
-                                 if line.label == label)
+            affected_lines = set(depnode.line_nb for depnode in depnodes
+                                 if depnode.label == label)
             irs = self._ira.blocs[label].irs
             for line_nb in sorted(affected_lines):
                 affects.append(irs[line_nb])