From e79900b4651bce48693f27129941374c87843af2 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Fri, 30 Jan 2015 22:29:33 +0200 Subject: [PATCH] Print current year automatically. --- docs/source/conf.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index cbda99f2f..57da10825 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -2,7 +2,10 @@ # # Gunicorn documentation build configuration file # -import sys, os + +import os +import sys +import time DOCS_DIR = os.path.abspath(os.path.dirname(__file__)) @@ -19,7 +22,7 @@ # General information about the project. project = u'Gunicorn' -copyright = u'2009-2015, Benoit Chesneau' +copyright = u'2009-%s, Benoit Chesneau' % time.strftime('%Y') # gunicorn version import gunicorn release = version = gunicorn.__version__