Correction d'un bug suite à la mise à jour de moinmoin

darcs-hash:20070901144525-72cb0-36d65e47bdadf6f0ef23187b6359c8fa98c4f0a2.gz
This commit is contained in:
salles 2007-09-01 16:45:25 +02:00
parent e0a692ed95
commit dce68b1bf5

View file

@ -20,7 +20,7 @@ if arg == "config" :
print "graph_vlabel nb d'utilisateurs" print "graph_vlabel nb d'utilisateurs"
for theme in THEMES : for theme in THEMES :
nom = theme.strip().split(' ')[1] nom = theme.strip().split(' ')[1]
for char in [' ','_','-','/','\\',':',';','.'] : for char in [' ','_','-','/','\\',':',';','.','<','>'] :
nom = nom.replace(char, '') nom = nom.replace(char, '')
print '%s.label %s' % (nom, theme.strip().split(' ')[1]) print '%s.label %s' % (nom, theme.strip().split(' ')[1])
if THEMES.index(theme) == 0 : if THEMES.index(theme) == 0 :
@ -32,7 +32,7 @@ else :
for theme in THEMES : for theme in THEMES :
nom = theme.strip().split(' ')[1] nom = theme.strip().split(' ')[1]
nb = theme.strip().split(' ')[0] nb = theme.strip().split(' ')[0]
for char in [' ','_','-','/','\\',':',';','.'] : for char in [' ','_','-','/','\\',':',';','.','<','>'] :
nom = nom.replace(char, '') nom = nom.replace(char, '')
print '%s.value %s' % (nom, nb) print '%s.value %s' % (nom, nb)