[Telepathy-commits] [telepathy-qt4/master] qt4-client-gen.py: escape */ when outputting into a comment

Simon McVittie simon.mcvittie at collabora.co.uk
Tue Jan 6 07:39:31 PST 2009


---
 tools/qt4-client-gen.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/tools/qt4-client-gen.py b/tools/qt4-client-gen.py
index a8fab4e..77ba7d2 100644
--- a/tools/qt4-client-gen.py
+++ b/tools/qt4-client-gen.py
@@ -298,7 +298,8 @@ Q_SIGNALS:\
         return %(getter-return)s;
     }
 """ % {'name' : name,
-       'docstring' : format_docstring(prop, '     * '),
+       'docstring' : format_docstring(prop, '     * ').replace('*/',
+           '*/'),
        'val' : binding.val,
        'name' : name,
        'gettername' : gettername,
-- 
1.5.6.5




More information about the Telepathy-commits mailing list