Commit 593339ca authored by Barry Warsaw's avatar Barry Warsaw

Happy New Year.

parent 721ea276
......@@ -2,7 +2,7 @@
Mailman - The GNU Mailing List Management System
================================================
Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
This is GNU Mailman, a mailing list management system distributed under the
terms of the GNU General Public License (GPL) version 3 or later. The name of
......
......@@ -2,30 +2,40 @@
import os
import re
import stat
import datetime
FSF = 'by the Free Software Foundation, Inc.'
this_year = datetime.date.today().year
pyre = re.compile(r'^# Copyright (C) (?P<start>\d{4}-)?(?P<end>\d{4})')
pyre = re.compile(r'# Copyright \(C\) ((?P<start>\d{4})-)?(?P<end>\d{4})')
MODE = (stat.S_IRWXU | stat.S_IRWXG | stat.S_IRWXO)
def do_file(path):
print('=>', path)
permissions = os.stat(path).st_mode & MODE
with open(path) as in_file, open(path + '.out', 'w') as out_file:
for line in in_file:
mo = pyre.match(line)
if mo is None:
out_file.write(line)
continue
start = (mo.group('end')
if mo.group('start') is None
else mo.group('start'))
print('# Copyright (C) {}-{} {}'.format(
mo.group('end'), this_year, FSF), file=out_file)
try:
for line in in_file:
out_file.write(line)
mo = pyre.match(line)
if mo is None:
out_file.write(line)
continue
start = (mo.group('end')
if mo.group('start') is None
else mo.group('start'))
print('# Copyright (C) {}-{} {}'.format(
start, this_year, FSF), file=out_file)
for line in in_file:
out_file.write(line)
except UnicodeDecodeError:
print('Cannot convert path:', path)
os.remove(path + '.out')
return
os.rename(path + '.out', path)
os.chmod(path, permissions)
def do_walk():
......
......@@ -2,7 +2,7 @@
#
# mailman This shell script starts and stops GNU Mailman.
#
# Copyright (C) 2001-2007 by the Free Software Foundation, Inc.
# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
......
# -*- python -*-
# Copyright (C) 1998-2007 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2002-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2002-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2001-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2001-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2002-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2002-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2000-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2000-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2008-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2008-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2008-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2008-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2008-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2008-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2008-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2008-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2001-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2001-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2006-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2006-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2006-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2006-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2002-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2002-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......@@ -43,7 +43,7 @@ def main():
parser = argparse.ArgumentParser(
description=_("""\
The GNU Mailman mailing list management system
Copyright 1998-2009 by the Free Software Foundation, Inc.
Copyright 1998-2010 by the Free Software Foundation, Inc.
http://www.list.org
"""),
formatter_class=argparse.RawDescriptionHelpFormatter,
......
# Copyright (C) 2001-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2001-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2001-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2006-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2006-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2006-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2006-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
# Copyright (C) 1998-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2008-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2008-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2007-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2007-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2009 by the Free Software Foundation, Inc.
# Copyright (C) 2009-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2002-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2002-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2002-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2002-2010 by the Free Software Foundation, Inc.
#
# This file is part of GNU Mailman.
#
......
# Copyright (C) 2002-2009 by the Free Software Foundation, Inc.
# Copyright (C) 2002-2010 by the Free Software Foundation, Inc.