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

Daniel Stender stender at moszumanska.debian.org
Sun Jul 16 07:24:14 UTC 2017


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

stender pushed a commit to branch patch-queue/debian/master
in repository gamera.

commit 9d73e0ab45d95fe43694dd3b956d73bb14c47460
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
    
    Gbp-Pq: Name 0012-docs-no-modified-timestamp.patch
---
 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