blob: 5b215c46704b5222563b6a3d89346ae4d329495d [file] [log] [blame]
Christopher Dunnf9864232007-06-14 21:01:26 +00001import glob
2import os.path
3for path in glob.glob( '*.json' ):
4 text = file(path,'rt').read()
5 target = os.path.splitext(path)[0] + '.expected'
6 if os.path.exists( target ):
7 print 'skipping:', target
8 else:
9 print 'creating:', target
10 file(target,'wt').write(text)
11