diff options
-rw-r--r-- | pym/repoman/utilities.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/repoman/utilities.py b/pym/repoman/utilities.py index ba344078d..325ade509 100644 --- a/pym/repoman/utilities.py +++ b/pym/repoman/utilities.py @@ -665,8 +665,8 @@ def UpdateChangeLog(pkgdir, category, package, new, removed, changed, \ clold_lines.append(line) if line_strip[:1] != '#': break - line = re.sub(r'^(# Copyright) \d\d\d\d-\d\d\d\d', - r'\1 1999-%s' % year, line) + line = re.sub(r'^(# Copyright \d\d\d\d)-\d\d\d\d', + r'\1-%s' % year, line) clnew_lines.append(line) if not line_strip: break |