Pour splitter une chaîne en la liste de ses lettres, pensez à list()
This commit is contained in:
parent
82667e4706
commit
ebcf2508c3
1 changed files with 1 additions and 1 deletions
|
@ -24,5 +24,5 @@ if has("nfs"):
|
|||
# Pour ceux qui accedent beaucoup aux homes on monte tout le /home
|
||||
mnt("nfs.adm.crans.org:/home-adh", "/home", "nfs", ["rw"]);
|
||||
if has("o2"):
|
||||
for partition in [lettre for lettre in string.lowercase] + ['logs', 'mail']:
|
||||
for partition in list(string.lowercase) + ['logs', 'mail']:
|
||||
mnt("nfs.adm.crans.org:/home-adh/%s" % (partition,), "/home/%s" % (partition,), "nfs", ["rw"]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue