[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
This commit is contained in:
parent
00642df696
commit
e11df9e038
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class account:
|
||||||
def comptes():
|
def comptes():
|
||||||
"""Retourne la liste des 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),
|
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):
|
def makeAnchor(letter):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue