[misc] 05/05: Need to escape underscores.

Chris Lamb chris at chris-lamb.co.uk
Sun Nov 20 09:14:24 UTC 2016


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

lamby pushed a commit to branch master
in repository misc.

commit 2685a9737049e51e28360d25cda639f3e3343435
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Nov 20 10:04:33 2016 +0100

    Need to escape underscores.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 reports/bin/generate-draft | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/reports/bin/generate-draft b/reports/bin/generate-draft
index 936e476..a605082 100755
--- a/reports/bin/generate-draft
+++ b/reports/bin/generate-draft
@@ -245,7 +245,7 @@ def commits(week_start, week_end, project, path='.'):
 
         result[author].append({
             'sha': sha,
-            'title': title,
+            'title': title.replace('_', '\_'),
         })
 
     return result

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/misc.git



More information about the Reproducible-commits mailing list