shithub: pokecrystal

Download patch

ref: 74a4d6588458a05d2e833f12ea2c80df10b0865d
parent: 26ed5760a2116110c8940b9958cdd87c2ca8ea00
author: Bryan Bishop <[email protected]>
date: Sun Jan 27 12:03:51 EST 2013

fix imports in graph.py

Although graph.py never used DisAsm, it was still trying to import the
deprecated class. Removed.

--- 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.