[cpl-plugin-fors] 02/06: Escape ' on param documentation

Ole Streicher olebole-guest at moszumanska.debian.org
Wed Nov 27 16:09:36 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-fors.

commit 5f0f07da1e749ad7bd21ebe201569df48300475d
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 2d21215..a6e8a1a 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-fors.git



More information about the debian-science-commits mailing list