comparison 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
comparison
equal deleted inserted replaced
914:bcc8f7f95b77 916:5d9fedf2f851
171 lineno = int(match.group('line')) 171 lineno = int(match.group('line'))
172 tag = match.group('tag') 172 tag = match.group('tag')
173 problems.append(xmlio.Element('problem', category=category, 173 problems.append(xmlio.Element('problem', category=category,
174 type=msg_type, tag=tag, 174 type=msg_type, tag=tag,
175 line=lineno, file=filename)[ 175 line=lineno, file=filename)[
176 match.group('msg') or '' 176 xmlio.Element('msg')[match.group('msg') or '']
177 ]) 177 ])
178 ctxt.report('lint', problems) 178 ctxt.report('lint', problems)
179 finally: 179 finally:
180 fd.close() 180 fd.close()
181 except IOError, e: 181 except IOError, e:
Copyright (C) 2012-2017 Edgewall Software