From ebcf2508c35e9bb858492cd825cda5dec634dfe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= Date: Sun, 5 Apr 2015 11:23:47 +0200 Subject: [PATCH] =?UTF-8?q?Pour=20splitter=20une=20cha=C3=AEne=20en=20la?= =?UTF-8?q?=20liste=20de=20ses=20lettres,=20pensez=20=C3=A0=20list()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Python/etc/fstab | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/etc/fstab b/Python/etc/fstab index 307ef2f..c35e2b8 100644 --- a/Python/etc/fstab +++ b/Python/etc/fstab @@ -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"]);