summaryrefslogtreecommitdiff
path: root/copybump.py
diff options
context:
space:
mode:
authorStephen A. Goss2011-08-23 16:07:11 -0700
committerStephen A. Goss2011-08-23 16:07:11 -0700
commit4da280bce9f02dc388f70353c7eede3da9f58794 (patch)
tree955bb0df0e97ad463249078cdea79d0322b599ab /copybump.py
parent0b45ed6886360ba858f4a11cb95a3d134fc580dc (diff)
parent35e4ca77838ac7bbeca3f8da6ea64a93a6e501d5 (diff)
downloadmailman-4da280bce9f02dc388f70353c7eede3da9f58794.tar.gz
mailman-4da280bce9f02dc388f70353c7eede3da9f58794.tar.zst
mailman-4da280bce9f02dc388f70353c7eede3da9f58794.zip
merged changes to main branch
Diffstat (limited to 'copybump.py')
-rwxr-xr-xcopybump.py3
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: