[Python-modules-commits] [gamera] 13/20: docs-no-modified-timestamp

Daniel Stender stender at moszumanska.debian.org
Mon Aug 8 08:55:29 UTC 2016


This is an automated email from the git hooks/post-receive script.

stender pushed a commit to branch master
in repository gamera.

commit 273693392948feefb2cb51460d56396d0ba275a9
Author: Daniel Stender <debian at danielstender.com>
Date:   Sat Oct 17 18:59:53 2015 +0200

    docs-no-modified-timestamp
    
       prevent docs generator to put "Last Modified:" timestamp into HTML pages
       for reproducible building.
       Bug: https://bugs.debian.org/784680
       Forwarded: not-needed
---
 gamera/gendoc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gamera/gendoc.py b/gamera/gendoc.py
index 4c17b01..db05a81 100644
--- a/gamera/gendoc.py
+++ b/gamera/gendoc.py
@@ -233,7 +233,7 @@ class DocumentationGenerator:
             else:
                footer = '.. footer:: :raw-html:`<div style="text-align:right;">For contact information, see <a href="' + self.contact_url + '">' + self.contact_url + '</a></div>`\n\n'
             lines = (lines[:3] + 
-                     ["\n", u"**Last modified**: %s\n\n" % mtime, 
+                     ["\n", u"**Last modified**:\n\n",
                       ".. contents::\n\n", 
                       ".. role:: raw-html(raw)\n   :format: html\n",
                       footer

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/gamera.git



More information about the Python-modules-commits mailing list