From e11df9e038b53b1260cb77c9153cae8954e6e1c5 Mon Sep 17 00:00:00 2001 From: Michel Blockelet Date: Fri, 12 Dec 2008 13:12:03 +0100 Subject: [PATCH] [wiki-lenny] Correction macro PagesPerso.py Sur niomniom, on est en autofs sur /home, donc le listing se faisait mal. On liste maintenant sur /home/mail. Le fonctionnement de la macro a pour inconvenient de monter tous les homes ... darcs-hash:20081212121203-ddb99-ebfd7a3293155dadb5e804ab1f9b5fa3c562d9e5.gz --- wiki-lenny/local/macro/PagesPerso.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wiki-lenny/local/macro/PagesPerso.py b/wiki-lenny/local/macro/PagesPerso.py index b014f672..a66726d6 100644 --- a/wiki-lenny/local/macro/PagesPerso.py +++ b/wiki-lenny/local/macro/PagesPerso.py @@ -70,7 +70,7 @@ class account: def comptes(): """Retourne la liste des comptes""" return filter(lambda x: os.path.isdir(u"/home/%s/www" % x) and not os.path.islink(u"/home/%s/www" % x), - os.listdir(u"/home")) + os.listdir(u"/home/mail")) def makeAnchor(letter):