[Python-modules-commits] [gamera] 13/17: docs-no-modified-timestamp
Daniel Stender
stender at moszumanska.debian.org
Tue Apr 26 18:43:45 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 937ab5a19d0f9e465cd9b7b0ca2af349aa5733db
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 93b77f1..8923d78 100644
--- a/gamera/gendoc.py
+++ b/gamera/gendoc.py
@@ -232,7 +232,7 @@ class DocumentationGenerator:
else:
footer = "\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