Skip to content

Commit

Permalink
Print current year automatically.
Browse files Browse the repository at this point in the history
  • Loading branch information
berkerpeksag committed Jan 30, 2015
1 parent 5028e8a commit e79900b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__))

Expand All @@ -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__
Expand Down

0 comments on commit e79900b

Please sign in to comment.