From 29e6df278b430ca5af5bb12e5bf37808a504ee73 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Mon, 13 Nov 2006 14:33:42 +0000 Subject: [PATCH] Ooooo mighty graph algorithm class, pleeeaase let me fix a tiny bug that has no comparision to the greaaatness of thyself. I humbly bow on thy greatness, aaaaalll mighty one and the only one. --- pisi/graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pisi/graph.py b/pisi/graph.py index 5f78f9d5..d11a0dc6 100644 --- a/pisi/graph.py +++ b/pisi/graph.py @@ -46,7 +46,7 @@ class Digraph(object): "return a list of edge descriptors" list = [] for u in self.__v: - for v in self.__u: + for v in self.__adj[u]: list.append( (u,v) ) return list