From 7eb44b05c5159000f8ae8e053aeacea87c5f7656 Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Wed, 7 Apr 2021 16:42:28 +0200 Subject: [PATCH] Set copyright year to the current year To ensure that a release with outdated copyright year is not produced at the beginning of a year, set copyright year to the current year. --- doc/man/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/man/conf.py b/doc/man/conf.py index 4def0b08c0..b4ca747fbc 100644 --- a/doc/man/conf.py +++ b/doc/man/conf.py @@ -31,8 +31,11 @@ # -- Project information ----------------------------------------------------- project = u'BIND 9' +# pylint: disable=wrong-import-position +import datetime +year = datetime.datetime.now().year # pylint: disable=redefined-builtin -copyright = u'2021, Internet Systems Consortium' +copyright = u"%d, Internet Systems Consortium" % year author = u'Internet Systems Consortium' # -- General configuration ---------------------------------------------------