On ne tient pas compte des '@' dans le nom du useragent
darcs-hash:20071015071956-72cb0-3445d6640e708639eb713e66af8378ad0f93ec46.gz
This commit is contained in:
parent
2a8f14273a
commit
2ee59804ae
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,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 :
|
||||||
|
@ -70,7 +70,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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue