vers l'utf-8 ...

darcs-hash:20080909193432-b8e4c-8b567852009655f931b00023ebaca090853719dd.gz
This commit is contained in:
Xavier Lagorce 2008-09-09 21:34:32 +02:00
parent 82a0a15f52
commit 7438105c0a
28 changed files with 75 additions and 75 deletions

View file

@ -1,5 +1,5 @@
#!/usr/bin/env python
# -*- coding: iso-8859-15 -*-
# -*- coding: utf-8 -*-
# Plugin pour visualiser l'utilisation des plages ip
@ -12,7 +12,7 @@ from ldap_crans import crans_ldap
from config import NETs
from iptools import AddrInNet
# On prend l'argument pour définir la plage d'ip à analyser
# On prend l'argument pour définir la plage d'ip à analyser
SUBNET = sys.argv[0].split('_')[1]
try :
@ -21,7 +21,7 @@ except :
arg = ''
if arg == "config" :
if len(SUBNET) == 1 : NOM = "Bâtiment %s" % string.upper(SUBNET)
if len(SUBNET) == 1 : NOM = "Bâtiment %s" % string.upper(SUBNET)
else: NOM = SUBNET
print 'host_name adresses-ip'
@ -29,7 +29,7 @@ if arg == "config" :
print 'graph_args --base 1000 --lower-limit 0'
print 'graph_category network'
print "graph_vlabel nb d'ips"
print "utilisees.label IP utilisées"
print "utilisees.label IP utilisées"
print "utilisees.draw AREA"
print "total.label Total disponibles"