diff bitten/build/pythontools.py @ 916:5d9fedf2f851 0.6.x

0.6dev: Merged [997] from trunk.
author hodgestar
date Mon, 23 May 2011 09:39:11 +0000
parents f4d07544722b
children
line wrap: on
line diff
--- a/bitten/build/pythontools.py
+++ b/bitten/build/pythontools.py
@@ -173,7 +173,7 @@
                     problems.append(xmlio.Element('problem', category=category,
                                                   type=msg_type, tag=tag,
                                                   line=lineno, file=filename)[
-                        match.group('msg') or ''
+                        xmlio.Element('msg')[match.group('msg') or '']
                     ])
             ctxt.report('lint', problems)
         finally:
Copyright (C) 2012-2017 Edgewall Software