--- a/incoming.py Thu Jun 23 17:01:41 2016 +0800
+++ b/incoming.py Thu Jun 23 22:23:39 2016 +0800
- m = re.match(r'^(.+):(\d+):\d+: ', line)
+ m = re.match(r'^(?P<filename>.+):(?P<fileline>\d+):\d+: ', line)
- item['filename'] = m.group(1)
- item['fileline'] = int(m.group(2))
+ item['filename'] = m.group('filename')
+ item['fileline'] = int(m.group('fileline'))