[cpl-plugin-giraf] 02/13: Escape ' on param documentation

Ole Streicher olebole-guest at moszumanska.debian.org
Tue Dec 3 21:17:34 UTC 2013


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

olebole-guest pushed a commit to branch debian
in repository cpl-plugin-giraf.

commit 6a0a6fb2e1ad9b68275d1f0fd4f08dfb0b0ac224
Author: Ole Streicher <debian at liska.ath.cx>
Date:   Thu Nov 7 12:08:02 2013 +0100

    Escape ' on param documentation
---
 debian/create_manpage.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/create_manpage.py b/debian/create_manpage.py
index d8f5f55..85f0082 100644
--- a/debian/create_manpage.py
+++ b/debian/create_manpage.py
@@ -76,7 +76,7 @@ def param(recipe, template):
     return "".join(template.format(name = p.name,
                                    fullname = p.fullname,
                                    type = p.type.__name__,
-                                   description = p.__doc__,
+                                   description = p.__doc__.replace("'", "\\'"),
                                    default = p.default)
                    for p in recipe.param)
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/cpl-plugin-giraf.git



More information about the debian-science-commits mailing list