[...] La connexion temporaire du G n'est plus pertinente
darcs-hash:20100112003022-ffbb2-48e262e78b482d67acad0c1af1c936d3bfa83022.gz
This commit is contained in:
parent
9669a3691f
commit
825b5d2a78
2 changed files with 0 additions and 8 deletions
|
@ -2832,9 +2832,6 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
|
|||
pool_ip = lister_ip_dispo('all')
|
||||
else:
|
||||
proprio = self.proprietaire()
|
||||
if proprio.chbre()[0] in [ 'g', 'G' ]:
|
||||
net = config.NETs['adh-g']
|
||||
pool_ip = lister_ip_dispo('adh-g')
|
||||
|
||||
if proprio.etudes(0) == 'Personnel ENS':
|
||||
net = config.NETs['personnel-ens']
|
||||
|
@ -2842,8 +2839,6 @@ Contactez nounou si la MAC est bien celle d'une carte.""", 3)
|
|||
elif not isinstance(proprio, Adherent) or proprio.adherentPayant():
|
||||
proprio_subnet = 'adherents'
|
||||
try:
|
||||
if self.nom().endswith("-g.crans.org"):
|
||||
proprio_subnet = 'adh-g'
|
||||
net = config.NETs[proprio_subnet]
|
||||
pool_ip = lister_ip_dispo(proprio_subnet)
|
||||
except:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue