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.

(cherry picked from commit 7eb44b05c5)
This commit is contained in:
Michal Nowak
2021-04-07 16:42:28 +02:00
parent a822caa3f3
commit 56cd1f041c

View File

@@ -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 ---------------------------------------------------