summaryrefslogtreecommitdiff
path: root/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
commitf924fff38ff3c783df0c409c987b90c4f9a2a4d2 (patch)
tree469dfb60be1969cb66447e6ecca6a079ff6d7ad9 /graph.py
parent107f5d6901fb347f675943b2808d7868a0293738 (diff)
fix imports in graph.py
Although graph.py never used DisAsm, it was still trying to import the deprecated class. Removed. original-commit-id: 74a4d6588458a05d2e833f12ea2c80df10b0865d
Diffstat (limited to 'graph.py')
-rw-r--r--graph.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/graph.py b/graph.py
index 062985e..b545083 100644
--- a/graph.py
+++ b/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.