From cde0c25bfe2da8efef27d0d70cad9dab1d624a88 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Wed, 1 Sep 2010 19:51:54 -0700 Subject: [PATCH] Fix for new networkx. --- mininet/topo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mininet/topo.py b/mininet/topo.py index 07f74ef..d89b988 100644 --- a/mininet/topo.py +++ b/mininet/topo.py @@ -11,7 +11,7 @@ A Topo object can be a topology database for NOX, can represent a physical setup for testing, and can even be emulated with the Mininet package. ''' -from networkx.classes.graph import Graph +from networkx import Graph from mininet.node import SWITCH_PORT_BASE class NodeID(object):