3 # Simple hack script to restore __revision__ and __COPYRIGHT_ lines
4 # to what gets checked in to source. This comes in handy when people
5 # send in diffs based on the released source.
8 for i in `find src test -name '*.py'`; do
10 /__revision__ = /s/= .*/= "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"/p
11 /# Copyright (c) 2001/s/.*/# __COPYRIGHT__/p