From caea06f8fc82ae75a10bef9f9187b70166323870 Mon Sep 17 00:00:00 2001 From: pauget Date: Fri, 10 Dec 2004 17:38:25 +0100 Subject: [PATCH] Le I entirement manageable. darcs-hash:20041210163825-41617-1a298b14eb80ab03e9b769b87ef72c7794ffc418.gz --- gestion/annuaires.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gestion/annuaires.py b/gestion/annuaires.py index 6f9f973e..610a802d 100755 --- a/gestion/annuaires.py +++ b/gestion/annuaires.py @@ -7,8 +7,7 @@ bat_switchs = [ 'a', 'b', 'c' , 'g' , 'h' , 'i' , 'j' ] aide={ 'a' : "Chambres 603g et d sur même prise (câble d mort). Chambre 608d branchée sur le local photocopieuse", 'g' : "appart du RDC=G901" , -'h' : "Chambres 7 et 8 et les locaux clubs sur la prise 046" , -'i' : "Chambres 209g + 309g + 105g + 403g + 110d + 312 + 007g +007d + locaux clubs sur prise 150." +'h' : "Chambres 7 et 8 et les locaux clubs sur la prise 046" } # Toute chambre ne commencant pas par 3 chiffres sera considéré comme un local club @@ -57,7 +56,7 @@ chbre_prises={ 'a' : #la chambre passe par la prise du local (pb du cable dans le mur) 'b' : -{'cl0':'047' , 'cl1':'045' , +{'cl0':'047-' , 'cl1':'045' , '105':'001' , '106':'002' , '107':'003' , '108':'004' , '120g':'005' , '120d':'006' , '121d':'007' , '121g':'008' , '205':'009' , '206':'010' , '207':'011' , '208':'012' , @@ -206,7 +205,7 @@ chbre_prises={ 'a' : '280':'529' , '171':'530' , '101':'531' , '173':'532' , '294':'533' , '026':'534' , '225':'535' , '031':'536' , '146':'537' , '148':'538' , '102':'539' , '214':'540' , - '094':'541' , '110':'542' , '211':'543' , 'XXX':'544' , + '094':'541' , '110':'542' , '211':'543' , '093':'544-' , '159':'545' , '096':'546-', '903':'547' , '036':'548' , '106':'601-', '229':'602' , 'cl0':'603' , '089':'604-' , @@ -259,9 +258,9 @@ chbre_prises={ 'a' : '218':'042' , '219':'044' } , 'i' : -{'110d':'150' , '403g':'150' , '105g':'150' , '209g':'150' , - '309g':'150' , '312':'150' , 'cl2':'150' , 'cl3':'150' , - 'cl4':'150' , 'cl1':'150' , '007g':'150' , '007d':'150' , +{'110d':'201' , '403g':'202' , '105g':'203' , '209g':'204' , + '309g':'205' , '312':'206' , 'cl2':'207' , 'cl3':'208' , + 'cl4':'209' , 'cl1':'210' , '007g':'211' , '007d':'212' , '009d':'102' , '009g':'101' , '008d':'103' , '005d':'104' , '008g':'105' , '005g':'106' , '006d':'107' , '004d':'108' , @@ -478,7 +477,8 @@ uplink_prises={ 'a' : 149 : 'uplink->bath', 150 : 'pegase' }, 'i' : { 49 : 'uplink->backbone', 50 : 'uplink->bati-1', - 149 : 'uplink->bati', 150 : 'libre-service' }, + 149 : 'uplink->bati', 150 : 'uplink->bati-2', + 225 : 'uplink->bati-1' , 226 : 'libre-service' }, 'j' : { 49 : 'uplink->backbone', 50 : 'uplink->batj-1', 149 : 'uplink->batj', 150 : 'uplink->batj-2', @@ -542,5 +542,6 @@ def locaux_clubs() : # Supression du 2@B et 4@J locaux_clubs.pop('Bcl2') locaux_clubs.pop('Jcl4') - + locaux_clubs.pop('Icl4') + return locaux_clubs