From dd91bd7d48bba2104379b07fc9a4507f7470683e Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Mon, 9 Feb 2015 18:50:01 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20commit=20pr=C3=A9c=C3=A9dent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pylint me l'avait gentilment fait remarquer mais c'était innondé sous les avertissements 'already defined from outerscope'... --- S2/TP2/tp2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/S2/TP2/tp2.py b/S2/TP2/tp2.py index cd769d8..1740d52 100644 --- a/S2/TP2/tp2.py +++ b/S2/TP2/tp2.py @@ -453,7 +453,7 @@ def liste_possibilites(arbre, precede): for i in arbre: if type(arbre[i]) == dict: possibilites = possibilites + \ - arbre_vers_liste(arbre[i], precede + [i]) + liste_possibilites(arbre[i], precede + [i]) elif arbre[i] == None: possibilites = possibilites + [precede + [i]] return possibilites