From b0765269ce13bd187441e837768c8b2ecbb7ee1c Mon Sep 17 00:00:00 2001 From: hanwen Date: Mon, 13 Mar 2006 00:42:28 +0000 Subject: [PATCH] (mail_address_url): don't add mailto: to http:// --- ChangeLog | 3 +++ THANKS | 1 + stepmake/bin/add-html-footer.py | 6 +++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 7086ace430..ac6cbf93a6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-03-13 Han-Wen Nienhuys + * stepmake/bin/add-html-footer.py (mail_address_url): don't add + mailto: to http:// + * python/lilylib.py (print_environment): move ps_page_count to lilypond-book.py 2006-03-12 Han-Wen Nienhuys diff --git a/THANKS b/THANKS index 52db802432..2e20df43f9 100644 --- a/THANKS +++ b/THANKS @@ -70,6 +70,7 @@ Eduardo Vieira Ernesto Gancedo François Vion Frédéric Bron +Gianluca D. Hans Forbrich Hoang Nguyen Joe Neeman diff --git a/stepmake/bin/add-html-footer.py b/stepmake/bin/add-html-footer.py index 314499433b..d406d3719a 100644 --- a/stepmake/bin/add-html-footer.py +++ b/stepmake/bin/add-html-footer.py @@ -23,6 +23,10 @@ try: except KeyError: pass +mail_address_url= 'mailto:' + mail_address +if re.search ("http://", mail_address): + mail_address_url = mail_address + webmaster= mail_address try: webmaster= os.environ['WEBMASTER'] @@ -51,7 +55,7 @@ built = r""" This page is for %(package_name)s-%(package_version)s (%(branch_str)s).
-Report errors to <%(mail_address)s>.
+Report errors to <%(mail_address)s>.

-- 2.39.5