Add 'import sys' line to conf.py file 93/64493/4
authorCharles La Voy <clavoy@luminanetworks.com>
Wed, 18 Oct 2017 21:36:14 +0000 (16:36 -0500)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Fri, 20 Oct 2017 17:13:22 +0000 (13:13 -0400)
Change-Id: I9013c2858dcffe2635aa76fc2aa468aab7fc1866
Signed-off-by: Charles La Voy <clavoy@luminanetworks.com>
docs/conf.py

index 5aa7bad1036732c3e6d351c48b25e8d85038a0aa..cee43caccb7976f4f2f2f948e779bf07b883b4c8 100755 (executable)
@@ -15,6 +15,7 @@
 
 import sys
 import os
+import time
 import sphinx_bootstrap_theme
 
 # If extensions (or modules to document with autodoc) are in another directory,
@@ -58,7 +59,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = 'OpenDaylight Documentation'
-copyright = '2016, OpenDaylight Project'
+copyright = '2016-{}, OpenDaylight Project'.format(time.strftime("%Y"))
 author = 'OpenDaylight Project'
 
 # The version info for the project you're documenting, acts as replacement for