summaryrefslogtreecommitdiff
path: root/copybump.py
diff options
context:
space:
mode:
authorBarry Warsaw2013-01-01 09:05:42 -0500
committerBarry Warsaw2013-01-01 09:05:42 -0500
commit8b93558e70f1f8e3a626fbc862dc9e19f7eac8b5 (patch)
treed0a97a158d2a6554ece89f6063a814bb515e7606 /copybump.py
parentba777829004d26d26999c09040c2f35281a76d47 (diff)
downloadmailman-8b93558e70f1f8e3a626fbc862dc9e19f7eac8b5.tar.gz
mailman-8b93558e70f1f8e3a626fbc862dc9e19f7eac8b5.tar.zst
mailman-8b93558e70f1f8e3a626fbc862dc9e19f7eac8b5.zip
Diffstat (limited to 'copybump.py')
-rwxr-xr-xcopybump.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/copybump.py b/copybump.py
index 87fa5dfb9..72160d7f9 100755
--- a/copybump.py
+++ b/copybump.py
@@ -15,7 +15,6 @@ MODE = (stat.S_IRWXU | stat.S_IRWXG | stat.S_IRWXO)
def do_file(path, owner):
- print('=>', path)
permissions = os.stat(path).st_mode & MODE
with open(path) as in_file, open(path + '.out', 'w') as out_file:
try:
@@ -32,6 +31,7 @@ def do_file(path, owner):
continue
print('# Copyright (C) {}-{} {}'.format(
start, this_year, owner), file=out_file)
+ print('=>', path)
for line in in_file:
out_file.write(line)
except UnicodeDecodeError: