correction timeout
This commit is contained in:
parent
0f3c332923
commit
441fbd22d2
@ -70,7 +70,7 @@ def main():
|
|||||||
print('Liste des groupes :')
|
print('Liste des groupes :')
|
||||||
for grp_id, group_infos in groups.items():
|
for grp_id, group_infos in groups.items():
|
||||||
print(' - ' + str(grp_id) + ' : ' + group_infos[0])
|
print(' - ' + str(grp_id) + ' : ' + group_infos[0])
|
||||||
print( ' - N : Créer un nouveau groupe')
|
print( ' - N : Créer un nouveau groupe')
|
||||||
while group_id is None:
|
while group_id is None:
|
||||||
tmp_group_id = flushed_input("Numéro du groupe : ")
|
tmp_group_id = flushed_input("Numéro du groupe : ")
|
||||||
if tmp_group_id == 'N':
|
if tmp_group_id == 'N':
|
||||||
@ -148,9 +148,9 @@ def make_group():
|
|||||||
filename += '-' + variantes[idx]
|
filename += '-' + variantes[idx]
|
||||||
variantes = [variante_infos[variantes[idx]]]
|
variantes = [variante_infos[variantes[idx]]]
|
||||||
print
|
print
|
||||||
|
print("Liste des serveurs : ")
|
||||||
for variante in variantes:
|
for variante in variantes:
|
||||||
cu.execute('select id,ip_publique,rne,libelle from serveurs where variante=' + str(variante))
|
cu.execute('select id,ip_publique,rne,libelle from serveurs where variante=' + str(variante))
|
||||||
print("Liste des serveurs : ")
|
|
||||||
for server in cu.fetchall():
|
for server in cu.fetchall():
|
||||||
print('{} - {} - {} - {}'.format(server[0], server[1], server[2], server[3]))
|
print('{} - {} - {} - {}'.format(server[0], server[1], server[2], server[3]))
|
||||||
server_infos.append(server[0])
|
server_infos.append(server[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user