/[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.5 by tjl, Fri Feb 21 16:08:01 2003 UTC revision 1.6 by tjl, Fri Feb 21 16:34:54 2003 UTC
# Line 76  java_template = """\ Line 76  java_template = """\
76   */   */
77  """  """
78    
79  doCopyrightRe = re.compile(r"(?://|#)\s*\([cC]\)\s*:?\s*([^\n]+)")  doCopyrightRe = re.compile(r"(//|#)\s*\([cC]\)\s*:?\s*([^\n]+)")
80    
81  def process_dir(arg, dir, names):  def process_dir(arg, dir, names):
82      for name in names:      for name in names:
# Line 92  def process_dir(arg, dir, names): Line 92  def process_dir(arg, dir, names):
92              theLine = 1              theLine = 1
93    
94          if mat != None:          if mat != None:
95              author = mat.group(1)              author = mat.group(2)
96              first = firstlines[0]              first = firstlines[0]
97    
98              if first.startswith('#'):              if mat.group(0).startswith('#'):
99                  pymode = 1                  pymode = 1
100              else:              else:
101                  pymode = 0;                  pymode = 0;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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