diff options
| author | Barry Warsaw | 2011-08-22 17:24:36 -0400 |
|---|---|---|
| committer | Barry Warsaw | 2011-08-22 17:24:36 -0400 |
| commit | 53b064d625e1718f6c053cd3692b91eff3f8c1d1 (patch) | |
| tree | 6060569e66e9d9ac475e2c61fa3afeeb55684122 | |
| parent | d53d2278510ad2022177391659781a4b6cf1b3ab (diff) | |
| parent | 992a2500defa133c04968bc394e7df8479f3bc37 (diff) | |
| download | mailman-53b064d625e1718f6c053cd3692b91eff3f8c1d1.tar.gz mailman-53b064d625e1718f6c053cd3692b91eff3f8c1d1.tar.zst mailman-53b064d625e1718f6c053cd3692b91eff3f8c1d1.zip | |
| -rwxr-xr-x | copybump.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/copybump.py b/copybump.py index 2f78c79b5..87fa5dfb9 100755 --- a/copybump.py +++ b/copybump.py @@ -27,6 +27,9 @@ def do_file(path, owner): start = (mo.group('end') if mo.group('start') is None else mo.group('start')) + if int(start) == this_year: + out_file.write(line) + continue print('# Copyright (C) {}-{} {}'.format( start, this_year, owner), file=out_file) for line in in_file: |
