summaryrefslogtreecommitdiff
path: root/extras/graph.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-01-27 17:03:51 -0600
committerBryan Bishop <kanzure@gmail.com>2013-01-27 17:03:51 -0600
commit74a4d6588458a05d2e833f12ea2c80df10b0865d (patch)
treefac58fddd36701ba7872a2a4a3ac4841cbfc7838 /extras/graph.py
parent26ed5760a2116110c8940b9958cdd87c2ca8ea00 (diff)
fix imports in graph.py
Although graph.py never used DisAsm, it was still trying to import the deprecated class. Removed.
Diffstat (limited to 'extras/graph.py')
-rw-r--r--extras/graph.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/extras/graph.py b/extras/graph.py
index 062985e4d..b5450835f 100644
--- a/extras/graph.py
+++ b/extras/graph.py
@@ -2,9 +2,12 @@
import networkx as nx
-from romstr import RomStr, DisAsm, \
- relative_jumps, call_commands, \
- relative_unconditional_jumps
+from romstr import (
+ RomStr,
+ relative_jumps,
+ call_commands,
+ relative_unconditional_jumps,
+)
class RomGraph(nx.DiGraph):
""" Graphs various functions pointing to each other.