comparison TOOLS/mphelp_check.py @ 19177:9065db6f98d9

Regular expression for conversions had 'P' instead of 'p', fixed to recognize %p.
author uau
date Tue, 25 Jul 2006 07:08:34 +0000
parents fe17e7634db1
children 8715803f09e8
comparison
equal deleted inserted replaced
19176:e81c7378d6f4 19177:9065db6f98d9
28 r[name] = value 28 r[name] = value
29 f.close() 29 f.close()
30 return r 30 return r
31 31
32 def compare(base, other, show_missing=False): 32 def compare(base, other, show_missing=False):
33 r = re.compile('%[^diouxXeEfFgGaAcsPn%]*[diouxXeEfFgGaAcsPn%]') 33 r = re.compile('%[^diouxXeEfFgGaAcspn%]*[diouxXeEfFgGaAcspn%]')
34 missing = [] 34 missing = []
35 for key in base: 35 for key in base:
36 if key not in other: 36 if key not in other:
37 missing.append(key) 37 missing.append(key)
38 continue 38 continue