Petite nodif pour sondage encore

--
Fred

darcs-hash:20030620064249-41617-ae431f8b3e74c6f563c54292edc2f35326e6a5c3.gz
This commit is contained in:
pauget 2003-06-20 08:42:49 +02:00
parent 494361a495
commit 04f967de8e

View file

@ -185,8 +185,8 @@ def calculate_diff(filespec, contextlines):
str(e), '\n***** file: ', file, ' cwd: ', os.getcwd()]
elif newrev == 'NONE':
lines = ['--- %s DELETED ---\n' % file]
elif string.find(file,"httpd.conf") == 0:
# Il y a le mdp mysql pour les sondages dans httpd.conf
elif string.find(file,"httpd.conf") == 0 or string.find(file,"create_sondage.py") == 0:
# Il y a le mdp mysql pour les sondages dans ces fichiers
lines = ['--- diff de %s masquée ---n' % file]
else:
# This /has/ to happen in the background, otherwise we'll run into CVS