]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Set copyright year to the current year
authorMichal Nowak <mnowak@isc.org>
Wed, 7 Apr 2021 14:42:28 +0000 (16:42 +0200)
committerMichal Nowak <mnowak@isc.org>
Fri, 14 May 2021 12:21:58 +0000 (14:21 +0200)
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

index 4def0b08c00e161d041018f85bcff44a7c77ca88..b4ca747fbc06bb5d3876fc4dc53df5be3601849e 100644 (file)
 # -- 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 ---------------------------------------------------