Il y a des agents qui utilisent ces caractres

darcs-hash:20060604203707-72cb0-c8d4fc9ef62645c0c08139130b6c6eacad20e024.gz
This commit is contained in:
salles 2006-06-04 22:37:07 +02:00
parent 07ece19377
commit 2a6e79c61a

View file

@ -53,7 +53,7 @@ if arg == "config" :
print 'graph_vlabel % des visites' print 'graph_vlabel % des visites'
for key in usage.keys() : for key in usage.keys() :
nom = key nom = key
for char in [' ','_','-','/','\\',':',';','.','+','(',')','!'] : for char in [' ','_','-','/','\\',':',';','.','+','(',')','!','"','\''] :
nom = nom.replace(char, '') nom = nom.replace(char, '')
print '%s.label %s' % (nom, key[:20]) print '%s.label %s' % (nom, key[:20])
if usage.keys().index(key) == 0 : if usage.keys().index(key) == 0 :
@ -66,7 +66,7 @@ if arg == "config" :
else : else :
for key in usage.keys() : for key in usage.keys() :
nom = key nom = key
for char in [' ','_','-','/','\\',':',';','.','+','(',')','!'] : for char in [' ','_','-','/','\\',':',';','.','+','(',')','!','"','\''] :
nom = nom.replace(char, '') nom = nom.replace(char, '')
print '%s.value %.2f' % (nom, usage[key]) print '%s.value %.2f' % (nom, usage[key])
print 'reste.value %.2f' % reste print 'reste.value %.2f' % reste