/[gzz]/gzz/metacode/copyrighter.py
ViewVC logotype

Diff of /gzz/metacode/copyrighter.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by tjl, Fri Feb 21 20:02:55 2003 UTC revision 1.10 by tjl, Fri Feb 21 20:08:25 2003 UTC
# Line 128  def process_file(dir, name): Line 128  def process_file(dir, name):
128      firstlines = open(file, 'r').readlines(2000)      firstlines = open(file, 'r').readlines(2000)
129      if len(firstlines) < 2: return      if len(firstlines) < 2: return
130    
131        firstlines = firstlines[0:31]
132    
133      # Check if we have an old notice      # Check if we have an old notice
134      if ( max([oldStart.search(l) for l in firstlines]) != None and      if ( max([oldStart.search(l) for l in firstlines]) != None and
135           max([oldEnd.search(l) for l in firstlines]) != None ):           max([oldEnd.search(l) for l in firstlines]) != None ):

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26